How To Post Code

  1. Click the "Edit this page" button on the front page, and add a wiki word for your page
  2. Click on the wiki word you created, which will take you to a blank wiki page
  3. Click the "Edit this page" button on your new wiki page
  4. Paste in your code enclosed in triple brackets with a mime-type like this:
{{{
#!text/x-javascript

function myExample() {
    /* .... */
};

}}}

If done properly, you'll have syntax highlighted JavaScript code right in the page. It looks like this:

function myExample() {
    /* .... */
};

You can do other languages too, as supported by TracSyntaxColoring, such as text/html:

<html>
    <!-- page goes here -->
</html>

If you're confused about how to do something in the wiki, look at the wiki markup for other pages by clicking the "Edit Page" button. Also, check out the WikiFormatting and TracWiki pages.