Syntaxify

Universal syntax highlighting

ของเมื่อวันที่ 26-06-2015 ดู เวอร์ชันล่าสุด

ผู้เขียน
Rob Anybody
คะแนน
0 0 0
เวอร์ชัน
1.4
สร้างเมื่อ
24-06-2015
อัปเดตเมื่อ
26-06-2015
Size
6.62 กิโลไบต์
สัญญาอนุญาต
ไม่มี
ปรับใช้กับ
ไซต์ทั้งหมด

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