pre2gfmarkdown-pmb
v1.0.1
Published
marked + highlight.js + pre tag finder = drop one script tag into your HTML to replace pre tags with their content rendered as Github-flavored markdown.
Downloads
5
Readme
pre2gfmarkdown-pmb
marked + highlight.js + pre tag finder = drop one script tag into your HTML to replace pre tags with their content rendered as Github-flavored markdown.
For syntax highlight in code snippets, you'll still need to import a compatible style sheet.
- Bundled packages repos: marked + highlight.js
Usage
See the code of this demo (live on Github).
Known issues
- Needs more/better tests and docs.
License
Bundle(s) in dist/
: see dist/LICENSE.md
Everything else in this project:
MIT