highlight-loader - Applies highlight.js to given HTML
This can be handy with markdown-loader. This loader works well with its HTML output. We just replace the contents of <code>
blocks with highlight.js compatible output.
Example
var html = require('html!highlight!markdown!./README.md');
Contributors
- Zane Miller - Added missing
hljs
class topre
element - Javier Castro - Add Node.js support
License
highlight-loader is available under MIT. See LICENSE for more details.