Friday, May 4, 2012
Adding a Syntax Highlighter to your Blogger blog
Syntax or code highlighting is important particularly when you need to show code examples on your blog.
It is always a big task to read codes on a blog or a website without syntax highlighting, though they are enclosed with code tags. By integrating the syntax highlighter on a blog or a website, readers can read the code examples easier.
There are so many free syntax highlighting scripts available on many websites. Most of the scripts are written in JavaScript, though some of them are powered by other programming languages such as Phyton or Ruby.
I believe "SyntaxHighlighter by Alex Gorbatchev" is the most common syntax highlighting script used by most of us. It supports a lot of different languages and you can easily create new "brush" for your language if it is not supported by default.
Labels:
Blogger
Using Python and jQuery
Python has a solid set tools to power web applications. The necessary knowledge lies in passing variables between python and jquery, however this can be hard to figure out. Here is a simple tutorial on how to send information between python and jquery to make python-powered web applications.
1. Write the HTML
Python-jQuery Example Python-jQuery Example
Subscribe to:
Posts (Atom)