Skip to content

markdown-it/markdown-it-deflist

Repository files navigation

markdown-it-deflist

CI NPM version Coverage Status

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

Syntax is based on pandoc definition lists.

Install

npm 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.