Syntaxify

Universal syntax highlighting

As of 2015-06-24. See the latest version.

Author
Rob Anybody
Ratings
0 0 0
Version
1.2
Created
2015-06-24
Updated
2015-06-24
Size
3.47 KB
License
N/A
Applies to
All sites

Adds syntax highlighting as a right-click/context menu entry for any <pre> and <code> tags in a page, and allows you to wrap selected text in a page with a <code> tag.

To change the CSS theme, modify the @require highlightJsCss line in the script. There are some good themes at cjdns

Uses the HighlightJS minimal JS and CSS.