0.1.1 • Published 6 years ago

@yerkopalma/markdownify v0.1.1

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

markdownify

Build Status js-standard-style

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

License

MIT