Overview For full instructions on click here. To find out more about highlight.js can be found here Using the HighlightJsContent directive

Use this directive to handle dynamic content which contains snippets. Both the sections below have innerHTML bound to the the sampleContent property.

Raw pre code without highlighting

Add dynamic content and highlight it