1.0.0 • Published 6 years ago
markdown-it-pagenumbers v1.0.0
Page numbers in Markdown
This markdown-it plugin parses page numbers in the format [pg #]
and renders them as anchors in the form of <a data-pg="#">#</a>
.
Installation
yarn add markdown-it-pagenumbers
Usage
let md = require('markdown-it')().use(require('markdown-it-macron-underline'))
md.render('This is [pg 1] a paragraph.')
1.0.0
6 years ago