Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
in Plugins by

The above link is not working. So, if anyone has a copy then please upload somewhere and provide me the link.
Q2A version: 1.5.3

1 Answer

+1 vote

You could add this yourself using highlight.js - http://softwaremaniacs.org/soft/highlight/en/
Just add the script to your page via your theme.

Alternatively, the Markdown editor includes this same script: https://github.com/svivian/q2a-markdown-editor

edited by
I tried using the markdown-editor, but its not working. This is what is did

Placed markdown-editor folder to the qa-plugins folder in Q2A installation.
Logged in  as a Super Administrator and headed to Admin > Posting.
Made the default editor for questions and answers to 'Markdown Editor'.
Lastly, selected the Highlight Syntax from plugin options.

Then tried to answer a question, but it failed to highlight the Syntax. here is the link
Any help would be highly appreciated.
There is no code on that page at all...
Sorry for the link and delayed reply. The link now has the code and it starts with [code=sql] and all my old Q&A post starts with this format. Is it correct or what am i missing?
You need to indent the code so that it becomes code in Markdown. The { } button on the editor will do that for you. Also I'm not sure if the [code=sql] part is required, I think it detects syntax automatically.
Thanks for that {} button info, but it just indents the code, but I want to highlight it in SQL format. Earlier with the quanda plugin, I used embed SQL like  [code=sql] select * from tmp [/code] .