Package bundling a few markdown-it plugins to approximate pandoc flavoured markdown.
Requires a lot of peer dependencies, depending on which extensions you enable. It's probably best if you take a quick look at the source.
var md = require('markdown-it-pandoc')()
md.render('my markdown string')
There are two optional arguments. The first is passed on
directly to markdown-it.
With the second you can enable/disable markdown-it-pandoc
extensions. For example:
var md = require('markdown-it-pandoc')({
html: true
}, {
implicit_figures: false
})