markdown-it-component

1.1.2 • Public • Published

markdown-it-component

Arbitrary component tag plugin for markdown-it markdown parser.

[hello]{name: "world"} => <hello name="world">

Getting Started

npm install markdown-it markdown-it-component --save
var md = require('markdown-it')().use(require('markdown-it-component')())
md.render('[hello]{name: "world"}') // => '<hello name="world">'

Package Sidebar

Install

npm i markdown-it-component

Weekly Downloads

54

Version

1.1.2

License

MIT

Last publish

Collaborators

  • ccorcos