Ask Your Question

syntax highlighting

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

mether's avatar 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 -0600

Evgeny's avatar

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's avatar mether  ( 2011-08-03 14:26:32 -0600 )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 -0600 )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 -0600

Seen: 516 times

Last updated: Aug 03 '11