Code Highlighting Macro
A macro for displaying highlighted code snippets
Screenshots
This application provides the [highlight language="javascript" _document="__macroDocument1"/] macro, that gives code highlighting similar to what you see on Github, including line numbers. It is a wrapper around the "highlight.js" library, and provides highlighting for 185 programming languages and scripts.
Releases
1.1.0
- Upgrade highlight.js dependency to 11.11.0
- Enable new instantiation of elements when dynamically updating a page
- Allow no css-file to be selected in Site-config
Compatibility:
- 7.12.0