Site icon David Yin's Blog

SyntaxHighlighter 2.0

I introduced SyntaxHighlighter before. Now it is 2.0 and has a new site.
I implement SyntaxHighlighter in my blog. It is easy for me to put any PHP, CSS, Bash, Javascript and SQL scripts in this blog.
It will shown in good standing.
To make it standard, I put the CSS files in the header of HTML. Put JS files in the bottom of the HTML file.
The most important update is the syntax is changed.

<pre class=”brush:js”> ….. </pre>

I can use following aliases:
brush:js
brush:php
brush:css
brush:shell
brush:sql

Exit mobile version