There's no widget in there to format source code. So it can be a pain in the neck,
especially if it's not nicely formatted. After searching on Google, i found solution.
There's a thing that can highlight source code and it's quite easy to have it working your blog.
What is it? It 's Google's Syntax Highlighter,
Thanks to Alex as the Project Owner of this feature.
Ok,then how to configure in our blog ? Just follow this instruction below :
- Download Google's Syntax Highlighter
- Unzip /Extract Google's Syntax Highlighter , then upload to your webspace
- Add this following code
after this tag
*)change YOUR_PAGE_URL with your webspace, or you can use my website url : koharudin.dikti.net/syntaxhighlighter :) - Write your post and add source code (in the HTML tab) using either
//your code here
or
Tidak ada komentar:
Posting Komentar