/highlight-loader

Applies highlight.js to given HTML (MIT)

Primary LanguageJavaScriptMIT LicenseMIT

build status

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

License

highlight-loader is available under MIT. See LICENSE for more details.