javivelasco / highlight-loader

Applies highlight.js to given HTML (MIT)

Home Page:https://www.npmjs.org/package/highlight-loader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Applies highlight.js to given HTML (MIT)

https://www.npmjs.org/package/highlight-loader

License:MIT License


Languages

Language:JavaScript 100.0%