Available in the OSS Version
HTML Editor > Highlight code
This sample uses CTP (Community Technical Preview) features. The API and behavior may change when these features are released with full support.
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.