npm.io
1.1.2 • Published 8 years ago

markdown-it-component

Licence
MIT
Version
1.1.2
Deps
1
Vulns
1
Weekly
0
Stars
5

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">'

Keywords