highlightjs-loader
Highlights content inside the code
tags with the language specified in the class attribute. If no language is provided in the class, highlightjs-loader will attempt to auto detect.
Usage
in your snippet.html
Example code Example code
in your app:
var htmlSnippet = ;
As of v0.2.0 you can specify parameter on the loader and can drop the <code>
tag in your html, i.e.
var htmlSnippet = ;
text
License
highlightjs-loader is available under MIT. See LICENSE for more details.