1.1.2 • Published 6 years ago

markdown-it-component v1.1.2

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

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