Syntaxify

Universal syntax highlighting

作者
Rob Anybody
日安装量
0
总安装量
87
评分
2 0 0
版本
1.4
创建于
2015-06-24
更新于
2015-06-25
大小
6.6 KB
许可证
暂无
适用于
所有网站

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