Pextile markup reference
Pagegen's markup language, Pextile, is pretty much a rip off/subset of Textile, a brilliant markup created by Dean Allen.
^ denotes the start of line and $ denotes the end of line
To escape parsing of content file start with ^/*$ and end with ^*/$. All lines between the start and end escape codes will be outputted verbatim
Acronym
AGA((A good acronym)) → <acronym title="A good acronym">AGA</acronym>
Emphasise (italics)
__text__ → <em>text</em>
Footnote reference (X = number)
[[X]] → <a class="pg_footnote_reference" href="#fnX">X</a>
Footnote (X = number)
^fnX Text$ → <p class="pg_footnote"><a name="fnX">X.</a> Text</p>
Heading (h1-6)
^h1 Text$ → <h1>Text</h1>
Horizontal rule
^---$ → <hr />
Image (after first exclamation can use <, > or - to align)
!img_src Image alternative text! → <img src="img_src" alt="Image alternative text"/>
Link (anchor point on same page)
"The apple section":"name:apples" → <a name="apples">The apple section</a>
Link (normal)
"This is a link":"http://phnd.net" → <a href="http://phnd.net">This is a link</a>
Monospace
@@text@@ → <tt>text</tt>
Notice
^notice Text$ → <p class="pg_notice">Text</p>
Numbered list
^# Numberd list item$ (nest lists by prefixing additional '#' (hash)) → <ol><li>Numbred list item</li></ol>
Preformatted text
^> Text$ → <pre>Text</pre>
Quote
^quote Text$ → <p class="pg_quote">Text</p>
Strikethrough
--text-- → <del>text</del>
Strong (bold)
**text** → <strong>text</strong>
Table header row (use %<, %> or %- to align cell content)
^%< Cell1 % Cell2 %$ → <table><tr><th class="pg_th_left">Cell1</th><th>Cell2</th></tr></table>
Table row (use |<, |> or |- to align cell content)
^| Cell1 |> Cell2 |$ → <table><tr><td>Cell1</td><td class="pg_td_right">Cell2</td></tr></table>
Unordered list (nest lists by prefixing additional '*' (asterix))
^* Unordered list item$ → <ul><li>Unordered list item</li></ul>
Warning
^warning Text$ → <p class="pg_warning">Text</p>



