First time here? Check out the FAQ!
0

syntax highlighting

http://pygments.org/ supports quite a few. Would it be possible for Askbot to take advantage of this?

mether's avatar
1.5k
mether
asked 2011-08-03 10:39:55 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

Actually, askbot has syntax highlighting - google-code-prettify, written in javascript.

It works well imo, and because it runs on the client - works in the previews as well.

Evgeny's avatar
13.2k
Evgeny
answered 2011-08-03 14:21:45 -0500
edit flag offensive 0 remove flag delete link

Comments

I see. Alright then.
mether's avatar mether (2011-08-03 14:26:32 -0500) edit

Well, it works with code using the Markdown 4 spaces prefix. But it doesn't work with Mardown ``` syntax.

hroncok's avatar hroncok (2014-05-18 13:14:13 -0500) edit
add a comment see more comments