1.2.0 • Published 12 months ago

markdown-it-pandoc-renderer v1.2.0

Weekly downloads
24
License
ISC
Repository
github
Last release
12 months ago

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

1.2.0

12 months ago

1.1.3

7 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.3

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago