If you're using the Hosted Edition of KMP and thus do not have ability to upload the script to the server, please contact us and we will install the plugin for you.
Optional: Modify the prettify.css stylesheet to get the coloring you prefer.
Now you're ready to use the plugin.
Inserting Codes
Copy the code you want to insert to clipboard (Ctrl-C). We recommend to copy it from plain-text editors, such as notepad, otherwise formatting from the source application (such as Word, or web page you're copying it from) may interfere and the look of the code might be different from expected.
Open an article for editing or create a new article.
Put keyboard cursor to the place where you wish to insert code.
Insert the Highlighted Code template by clicking the template insertion button and then clicking on the template name:
You will see the "insert_code_here" writing. Double-click on it - it will make it selected - and press Ctrl-V to insert the code.
Please note that code will not be highlighted in the edit mode. You'll see the colors only after clicking "Save & Close" and opening the article in the front-end. You'll see something like this:
For information about installing the plugin to KMP, feel free to contact us.
For information about customizing the colors and other questions related to plugin features, check the FAQ of the plugin authors.