Friday, June 28, 2013

Using SyntaxHighlighter

Update:Sept 04 2015 (I m using hilite.me)
Notice how cool my code format here.Well I just install SyntaxHighlighter into this blog.

Let see what type of syntax do I get

Define in pre class

1) brush:html


<pre class="brush:html"><!--This is my html sample, in the pre class , I choose html-->
 <pre class="brush:html">My html code in here</pre>
</pre>
2)brush:sql


<pre class="brush:sql">SELECT columnName FROM tableName </pre>


I refer to this :
1)http://mlawire.blogspot.com/2009/07/blogger-syntax-highlighting.html 2)http://alexgorbatchev.com/SyntaxHighlighter/

Have a nice weekend

No comments:

Post a Comment