I'm looking for a syntax highlighter that works on custom language
I want a syntax highlighter which can highlight my own syntax. Words like continue
, :i
, and loop_to
. With the ability to add new words. I thought about开发者_运维知识库 AJAX, but maybe you can give me easier way.
GeSHi might be what you're looking for. I've been very happy with it in the past. You can add your own language syntax by creating a language file.
Just plop that somewhere on a PHP-enabled server with your own language file.
精彩评论