in ,

Free JavaScript Code Syntax Highlighter Plugin: Rainbow

Advertisement

Many times we need code syntax highlighter plugin to highlight syntax of the Code on the web pages. Webmasters who have websites for code examples and programming tutorials, needs this kind of plugins to show code in highlighted form. I also use a smiliar kind of plugin on this website. In this blog, i have posted some code syntax highlighters.

Read: How to add syntax Highlighting to your website

rainbow syntax highlighterIf you are looking for a light weight solution to add a syntax highlighter in the website, You can use Rainbow plugin. This is lightweight and small (1.4 KB) in size. It is easy to customize and you can change the look and feel by editing CSS.

How does it work?
Rainbow on its own is very simple. It goes through code blocks, processes regex patterns, and wraps matching patterns in <span> tags. All the theming is left up to CSS.

Advertisement

This plugin supports all the available browsers.

Read More about this plugin and how to use it

Download

Advertisement

Written by Deepanker

Deepanker Verma is the founder of Techlomedia. He is a tech blogger, developer and gadget freak.

Leave a Reply

Your email address will not be published. Required fields are marked *

Loading…

elgg open source social network script

5 Opensource PHP Social Network Script

Add charts to web applications with JpGraph: PHP Charts Library