1

I'm looking for a multi-language syntax highlighting solution that works on the server side, not on client side. It should support at least XML, HTML, Java and PHP source code highlighting, and be preferably open-source and written in Java. It should output HTML of the highlighted text + optionally CSS to support it.

Something like this must already exist? But I can't seem to be able to find it..

Note: I do NOT need a javascript solution like the google's prettify.js. I know there are plenty of these around. I need a server-side solution.

Any help will be greatly appreciated!

1 Answer 1

1

You can try rsyntaxtextarea.

There is also jhighlight, but their page gives a 404. See here for some details about jhightlight

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks, but rsyntaxtextarea is a Swing app and jhighlight doesn't support PHP syntax...

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.