1

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.

1 Answer 1

3

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.