Available in the OSS Version

HTML Editor > Highlight code

Language

This sample is designed for a larger screen size.


On mobile, try rotating your screen, view full size, or email to another device.

This sample demonstrates how the igHtmlEditor can highlight any code benefiting from the Prism.js library. This implementation features a custom toolbar button for inserting a code snippet.

Code View

Copy to Clipboard