markvis
markvis copied to clipboard
How to use it as a plugin
Impressive works!
It seems markvis use render() in the documention, my question is how to use it as markdown-it plugin as markdown-it-emoji, as following:
use(vis, options)
use(vis).render(`
your markdown content
`, {
d3, // in browser environment
d3node // in node environment
})
there are examples in the README and documentation.
Still use render(). It is more flexible just use options, cause markdown content is dynamically changes.