Prism for code highlighting
We have added Prism to Canvas at KTH. This makes it possible to highlight code in your content pages. Please visit http://prismjs.com/ Links to an external site. for more information.
We have enabled the code highlighting for all listed languages at http://prismjs.com/download.html Links to an external site. as per 2016-08-12.
Please let us know if something seems to be missing because we will "manually" have to re-upload new versions of the .css and .js-files if something is added at a later date.
The files used in Canvas at KTH are:
- prism.js
- prism.css