2.0.4-2 • Published 4 years ago

@gerhobbelt/markdown-it-deflist v2.0.4-2

Weekly downloads
6
License
MIT
Repository
github
Last release
4 years ago

markdown-it-deflist

Build Status NPM version Coverage Status

Definition list (<dl>) tag plugin for markdown-it markdown parser.

v2.+ requires markdown-it v5.+, see changelog.

Syntax is based on pandoc definition lists.

Install

node.js, browser:

npm install @gerhobbelt/markdown-it-deflist --save
bower install @gerhobbelt/markdown-it-deflist --save

Use

var md = require('@gerhobbelt/markdown-it')()
            .use(require('@gerhobbelt/markdown-it-deflist'));

md.render(/*...*/);

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

License

MIT