Package Exports
- belmark
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (belmark) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
belmark
creates dom nodes from markdown
usage
npm install belmark
var belmark = require('belmark')
var markdown = `
# Hello
* world
`
var opts = { gfm: false }
var el = belmark(markdown, opts)
document.body.appendChild(el)
// or
document.body.appendChild(bel`
# Hello
* world
`)
for more details see: demo
api
var element = belmark(markdown, opts)
source
- Markdown source Stringopts
- Marked options- check marked for available options