How to embed codes on html pages

I am in windows and I want to create a code snippet tool on a website for my own consumption. Because every amazing application seems to exist only on a Mac. Snippley is fine, but it has no search function. Is there a javascript library or jquery plugin that allows me to present code snippets in a beautiful way? Something similar to Nettuts: enter image description here

+5
source share
1 answer

The most beautiful and most used, I think, is the Google Prettify code. This is the css library for taking exactly this screenshot that you are pasting.

http://code.google.com/p/google-code-prettify/

Twitter Bootstrap Css Google Code Prettify: http://twitter.github.com/bootstrap/

Twitter Bootstrap, , - :

<link href="assets/js/google-code-prettify/prettify.css" rel="stylesheet">

16 - javascript : http://www.1stwebdesigner.com/css/16-free-javascript-code-syntax-highlighters-for-better-programming/

!

+4

All Articles