Syntaxify

Universal syntax highlighting

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
Rob Anybody
1日のインストール数
0
累計インストール数
87
評価
2 0 0
バージョン
1.4
作成日
2015/06/24
更新日
2015/06/25
大きさ
6.62KB
ライセンス
不明
対象サイト
すべてのサイト

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