Colorize Your Source Code With Sunlight

Today I’d like to introduce to you this nice Javascript library that’ll help improve the way source code is embedded on your web page – or at least add a little bit of aesthetic, if you will, to how it’s displayed. After all, we all know how it can be pretty hard scanning through all those syntaxes without losing track – like finding where a loop ends or closes.

ScreenHunter 1996 May. 08 14.45 Colorize Your Source Code With Sunlight

The library comes in two themes (light and dark) and supports highlighting of up to 29 different programming languages. If your favorite language isn’t included in the list, you can add it yourself, as Sunlight comes with its own plugin system. This also means that anyone can add features, themes, and highlighting modes extending Sunlight’s core and support.

You can find more information such as documentation, example, and download in its official homepage or feel free to check out the demo here. Likewise, you may also visit its page on GitHub.

Related Posts

How To Create A Basic Social Sharing Button

Add Clippy.js To Your Website For Instant MSWord Nostalgia

Quirk Tools Cloud-Based Tool

Active Admin For Ruby On Rails

Leave a Reply









CommentLuv Enabled