开发者

I'm looking for a syntax highlighter that works on custom language

开发者 https://www.devze.com 2023-04-05 08:23 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消