Webpage formatting code snippets

How to add code snippets to a web page? I built a jquery plugin for my front-end team and I want to create a quick page to illustrate its use. I want to include some code, and I saw several sites using stylized code fragments (color coding, indentation, etc.). How is this achieved?

+6
javascript html css formatting
source share
2 answers

JavaScript Highlighter syntax provides very good formatting.

+8
source share

Use the same as using Stackoverflow: Google Code Prettify .

+11
source share

All Articles