Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including markdown-it-deflist with all npm packages installed. Try it out:

var markdownItDeflist = require("markdown-it-deflist")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

markdown-it-deflist v2.0.3

<dl> tag for markdown-it markdown parser.

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free