How to Document Code Snippets

Requires BWP Syntax plugin

Demo

PHP

  1. function moo() {
  2. code here
  3. }
function moo() {
code here
}

js

  1. jQuery(".flexslider").flexslider({
  2. code here
  3. });
jQuery(".flexslider").flexslider({
code here
});

HTML

  1. <h1>code here</h1>
<h1>code here</h1>