Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
TRENDING TODAY
Home > News > Webmaster > Web Blog

May 30th, 2012, 16:01 GMT · By Catalin Cimpanu

BLOG

Script of the Day: Highlight.js

SHARE:

Adjust text size:


One of the Highlight.js syntax highlighting themes Enlarge picture - One of the Highlight.js syntax highlighting themes
Highlight.js is a stand-alone JavaScript tool for colorizing embedded source code. Currently Highlight.js supports 46 programming languages and 18 highlighting themes.

Under the hood, it works by automatically finding source code blocks, detecting the used programming language on its own and applying the selected highlighting theme to it. Highlight.js' speed depends on the amount of code it has to work with.

Being framework agnostic makes Highlight.js the perfect tool for integrating with any web-based source code editor or used in various CMS, blog or forum plugins.

Currently, Highlight.js has been used/integrated with WordPress, Drupal, phpBB 3, Firefox, Ruby on Rails, DokuWiki, Simple Machines Forum, Node.js, Mantis and TinyMCE, just to name few of the projects.

Check out various demos of Highlight.js, and if interested, try to contribute to its code on GitHub.

Download Highlight.js from our Scripts section here.

TELL US WHAT YOU THINK:

929 hits · Link to this article · Print article · Send to friend · Subscribe to news

MUST-READ RELATED ARTICLES:


Script of the Day: CodeMirror

Script of the Day: vkBeautify

Script of the Day: Mantis

Script of the Day: Phabricator

Script of the Day: stopcensorship.js

READER COMMENTS:



No user comments yet.
Be the first to express your opinion!
Copyright © 2001-2013 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM