2

Where can I find a simple JavaScript based HTML syntax highlighter?
Simpler is better, and I don't need any line numbers or tricks, just added colors.

If it is the same colors as dreamweaver, even better!

4 Answers 4

5

There's also google's prettify.js, which is the syntax highligher used on this site:

http://code.google.com/p/google-code-prettify/

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

1 Comment

Nice one and simple, i will try to remember it. Last one that impressed me (but it isn't in javascript) is the [email protected] bot in Google Wave as it pretty much work in real time, as-you-type.
3

Here are some :

Comments

3

You can also try prism.js. I have used many of them and this is by far the simplest one according to me.

Comments

0

If you are using Dojo a nice one is dojox.highlight extension.

Demo page is here.

Comments

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.