markdownify
Render markdown to HTML and require it in your front-end JavaScript.
Features
- easy integration into build systems
- markdown rendering with marked
- syntax highlighting using pygmentize
- uses GitHub Flavoured Markdown
Using
In your front-end code:
var blogPost = ; ;
In your build system:
/* Require browserify-markdown */var markdownify = ; /* Configure Browserify to require markdown documents: */var bify = ; /* Set the transform for markdown documents: */bify; /* Add the entry point for Browserify. */bify;