@yerkopalma/markdownify
v0.1.1
Published
convert markdown source to html string with metadata support
Downloads
6
Readme
markdownify
convert markdown source to html string with metadata support
Usage
$ browserify index.js -t markdownify > bundle.js
# if you want to use plugins
$ browserify index.js -t [ markdownify --plugins=markdown-it-emoji ] > bundle.js
Now every require call to a file with extension md|markdown
will resolve in an
object
console.log(require('./readme.md'))
// {
// document: <parsed markdown>,
// meta: <meta data>
// }
Install
$ npm install --save-dev @yerkopalma/markdownify