markdown-it-pandoc-renderer

1.2.0 • Public • Published

markdown-it-pandoc-renderer

Build Status NPM version

Markdown-it renderer that generates Pandoc compatible AST.

Install

npm install markdown-it-pandoc-renderer --save

Use

var md = require('markdown-it')()
var render = require('markdown-it-pandoc-renderer')

render(md.parse('abc', {})) // => '[{"unMeta":{}},[{"t":"Para","c":[{"t":"Str","c":"abc"}]}]]'

Differences in browser. If you load script directly into the page, without package system, module will add itself globally as window.markdownitPandocRenderer.

License

MIT

/markdown-it-pandoc-renderer/

    Package Sidebar

    Install

    npm i markdown-it-pandoc-renderer

    Weekly Downloads

    77

    Version

    1.2.0

    License

    ISC

    Unpacked Size

    205 kB

    Total Files

    12

    Last publish

    Collaborators

    • benweet