Definition list (<dl>) tag plugin for markdown-it markdown parser
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

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 markdown-it-deflist --save
bower install markdown-it-deflist --save

Use

var md = require('markdown-it')()
            .use(require('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