1

Best to be implemented in javascript.

And easy to use.

3 Answers 3

3

Stack Overflow uses Prettify from Google.

See this question (on meta) for more discussion about this.

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

2 Comments

Prettify need class="prettyprint" to be add to <pre> or <code>,how to let wmd do this?
1

SO are using the WMD editor.

Googling for "javascript syntax highlighter" also brings up a lot of useful stuff.

1 Comment

Prettify need class="prettyprint" to be add to <pre> or <code>,how to let wmd do this?
0

You can check out this very good code syntax highlighter project: SyntaxHighlighter

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.