A # is the special trigger character.
However, it only ever works if it is placed on the start of a line; anywhere else and it will be ignored.

A # followed immediately by an alphanumerical word defines the start of a chunk.

Two #s at the start of a line marks that line as a comment.
##This is a just a comment and will not show up anywhere except in edit mode.

A # followed by whitespace allows you to specify more option for the current chunk.
#section1 form=raw

If you define a chunk then later on define that chunk again, the two chunks will be merged into one. This allows you to step out of the current chunk, define another chunk and then continue with the original chunk and immediately reference the chunk you have just defined.

This may sound a little bit complex but can help to keep singleton data defined and reference in the same place.

There can be multiple options following a hashtag.

An option is anything deliminated by white space and = separating the option name and the option data.

form=html is the default and triggers a number of simple additions to make writing text for web pages slightly easier.

  1. Any linebreaks will be a <br/> to force a line break when rendered in html.

  2. Any text that looks like a link will be turned into a link.

  3. Any word beginning with a / will be treated as a shorthand link, much like camelcase is used, to autolink words in normal wikis.

The rest of the word following this / will be the href data and the last part of that link, after any directories, will be used as the word to display, ie. /main/about/stuff will be displayed as stuff.

You can also make links relative to the root or even to other sites using this format by putting 2 or 3 /s at the start of a word, ie. //main/more will not link to the same place as /main/more since the latter will have a url similar to /main/main/more.

form=nohtml escapes HTML so you can use HTML safely and it will be "displayed as is". Linebreaks will be displayed as linebreaks and typing a link will display it as a link.

form=raw means "use as is".

Use this for code chunks or CSS chunks or just html where you want total control.

trim=ends removes all whitespace (enter/tab/space) found at the beginning or the end of that chunk.

This is useful for the title chunk where you do not want any accidental <br/> tags to be present nor extra whitespace since it will be used at the title part of the html head.