Content

Content formating

Pextile markup

Pagegen uses Pextile for marking up content, it is a variant of Textile please see the Pagegen Pextile reference http://pagegen.phnd.net/user-manual/pextile-markup-reference, the following is an example of content source file and the HTML that is generated from it.

Pextile is based on Textile, according to Wikipedia http://en.wikipedia.org/wiki/Textile_(markup_language) "Textile is a lightweight markup language originally developed by Dean Allen. Textile converts its marked-up text input to valid, well-formed XHTML".

Pagegen content file

 h2 This is the main heading
 A paragraph which is just some text really. But can include "links":"http://google.com".

 # A list item
 # Another list item

Pagegen generated HTML

 <h2>This is the main heading</h2>
 <p>A paragraph which is just some text really. But can include <a href="http://google.com">links</a>.</p>

 <ol>
 <li>A list item</li>
 <li>Another list item</li>
 </ol>
Last changed 2009-10-17 21:09