Code Highlighting Macro
A macro for displaying highlighted code snippets
Screenshots
This application provides the [highlight language="javascript" /] 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.0.2
- Update highlight.js to version 10.1.2
Compatibility:
- 7.0.0
1.0.0
- Initial release
Compatibility:
- 7.0.0
Get Code Highlighting Macro application
This version requires XP 6.15.0
To install and run this app, you will need a running instance of Enonic XP. The app can be installed in several ways:
Using XP Admin
Applications from Enonic Market can be installed directly from the "Applications" app in Enonic XP.
OR
Using CLI
Run the following command:
$
This command installs an application on all nodes. Remember to replace <username> and <password> with your admin login credentials.
Using Toolbox
OSX/Linux
Windows
The install-app tool installs an application on all nodes. Remember to replace <username> and <password> with your admin login credentials.
Download JAR
Download Code Highlighting Macro v1.0.2Get 5 days free hosted version of "Code Highlighting Macro" application for Enonic XP.