virtual-markdown
Convert markdown into virtual-dom. Uses remark and remark-html under the hood.
Installation
$ npm install virtual-markdown
Usage
const highlight = const md = moduleexports = render { const text = ` # funky town, get down, get down - or how I learned to love the bomb ` return }
API
tree = md(markdown, opts?)
Takes a string of markdown and returns a virtual-dom widget. Takes the following options:
- use: array of remark plugins to use
- all other options are passed directy to remark.process()