How to Implement Syntax Highlighter on Blogger


Syntax highlighting is a strategy to improve the readability of code. 

1. Download SyntaxHighlighter
2. Create/Use a google pages account to upload the following files
* SyntaxHighlighter.css
* clipboard.swf
* shCore.js
* shBrushCss.js
* shBrushJava.js
* shBrushJScript.js
* shBrushSql.js
* shBrushXml.js
3. Inside of the tag, link to those files

Awesome code syntax highlighting made easy
So ive finally come across an awesome syntax highlighter that i think will work well for most any application and it works well on Blogger Hosting which is even better. It uses a flash swf to do a click to copy button and has support for a variety of languages as well as a bunch of themes..
How to install ? just copy and paste code below into your html editor ( layout ) after "]]>< /b:skin >"




and a little about how to use it... in your post

Insert ur text code here

When you want to post entry using this script you will be prompt about html error, just click Stop showing HTML errors for the body of this post, and publish your post

1 Komen Telah Diterima, Terima Kasih Yer!!

Anda Juga Mungkin Meminati Artikel Ini :

MehndiDesignWorld said...

I'm also exploring Syntax Highlighter and find that it's indeed a great tool for syntax highlighting, making code more readable on blogs. Additionally, if you're looking for other options, you might consider PrismJS, a lightweight and customizable library, or Highlight.js, known for supporting numerous programming languages. Both are good alternatives, especially if you need something easily integrable and not too heavy for your website.
Arabic Mehndi Design

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))