Home > Prettify

Prettify

Prettify is a project mainly written in ..., it's free.

Syntax highligter for Wolf CMS

Prettify - Syntax Highlighter for Wolf CMS

INSTALLING

  1. Unpack "prettify.zip" to your "/wolf/plugins/" folder
  2. Login to your Admin area
  3. Enable plugin under Administration tab

SETUP

  1. In your Layout add: <?php prettify(); ?> between your tags
  2. Add onload="prettyPrint()" to your document's body tag

USAGE

Put code snippets in

YOUR CODE GOES HERE
or YOUR CODE GOES HERE and it will automatically be pretty printed. If you are using Textile filter for text input, you can easily call the script like this: bc(prettyprint). YOUR CODE GOES HERE To highlight just CSS code, type:
YOUR CODE GOES HERE
or in Textile bc(prettyprint lang-css). YOUR CODE GOES HERE
Previous:Imgcvt