Ask Your Question

syntax highlighting

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

mether gravatar image 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

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


I see. Alright then.
mether gravatar image 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 gravatar image hroncok  ( 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


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

Seen: 458 times

Last updated: Aug 03 '11