Syntaxify

Universal syntax highlighting

Tekijä
Rob Anybody
Päivittäiset asennukset
0
Asennuskerrat
87
Arvostelut
2 0 0
Versio
1.4
Luotu
24.6.2015
Päivitetty
25.6.2015
Size
6,62 kt
Lisenssi
N/A
Käytössä
Kaikki sivustot

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.

Although the current screenshots don't show it, there is now a "Highlight as..." menu entry too, which allows you to set the language to highlight for that block (cancel the "Highlight as..." dialog to revert to auto-detection).

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.

Github page