Lightweight Code Syntax Highlighting Script - Rainbow
File Size: | 175 KB |
---|---|
Views Total: | 1651 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |

Rainbow is a lightweight (~1.4 KB gzip),easy to use, and extendable Javascript code syntax highlighting library that allows you to style your code exactly how you want via CSS.
Basic Usage (HTML CODES):
1. Include the theme CSS:
<link href="../themes/blackboard.css" rel="stylesheet" type="text/css" media="screen">
2. Insert your codes
<pre> <code data-language="html"> ... </code> </pre>
3. Include the libraries before </body>
<script src="../js/rainbow.js"></script> <script src="../js/language/generic.js"></script> <script src="../js/language/html.js"></script> <script src="../js/language/css.js"></script> <script src="../js/language/php.js"></script> <script src="../js/language/javascript.js"></script>
This awesome jQuery plugin is developed by unknown. For more Advanced Usages, please check the demo page or visit the official website.