- Go to SyntaxHighlighter and download ( I used 3.0.83 release )
- Unzip the file you download and upload
to your web space ( On-line ) or https://sites.google.com/site/yours/
I upload these files to my google site
change the template in your blogger
add some html code as below
save the setting!
So , now you can decorate your code in blogger !
In editor of blogger , as following
<pre class="brush:java" name="code" > java code </pre >
It is easy to use for html and javaScript and so on as above . See the configuration of
SyntaxHighlighter for more advanced feature.
沒有留言:
張貼留言