Fork me on GitHub

An online tool to display formatted source code

Syntax Highlighting Options

Do you want a show/hide-effect with that?
For example: 2,4-6 will draw a box around line 2, and another box around lines 4 through 6.

Your snippet


Now do this:

➽ Download the CSS file:
➽ Download the JavaScript file:
➽ Copy the Markup below:

➽ Put the Javascript code at the end of your document (near </body>) and the CSS rules in the <head> of your page. The HTML goes inside <body>, wherever you want the snippet to appear.

Important If your page already contains the CSS/JS files then you only have to copy the HTML.

This tool is for web developers, hence I think I can "safely" ignore IE. After all, which developer relies only on IE? ;)