Ask Your Question
0

syntax highlighting

asked 2011-08-03 10:39:55 -0500

mether gravatar image

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-08-03 14:21:45 -0500

Evgeny gravatar image

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.

edit flag offensive delete link more

Comments

I see. Alright then.
mether gravatar imagemether ( 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 gravatar imagehroncok ( 2014-05-18 13:14:13 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-08-03 10:39:55 -0500

Seen: 358 times

Last updated: Aug 03 '11