Syntaxify

Universal syntax highlighting

Аўтар
Rob Anybody
Daily installs
0
Total installs
87
Рэйтынг
2 0 0
Версія
1.4
Створаны
24.06.2015
Абноўлены
25.06.2015
Памер
6.6 КБ
Ліцэнзія
Н/Д
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.

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