Markdown support in the wiki is based on a parser written in XQuery. It extends the original markdown proposal with fenced code blocks and tables. These are additional features found in Github flavored markdown.
Paragraphs are separated from following blocks by a blank line. A single line break does not start a new paragraph.
A heading starts with one or more hash signs (#) and extends to the end of the line.
Bold, emphasis and underline
To emphasis a span of text, place single * around it. Use double ** for stronger emphasis (bold). character.
To format inline code snippets, surround them with a single backtick:
request:get-parameter(). Use two backticks to allow one backtick inside:
A triple ``` on a line starts a code block, which should be closed by another ``` on a single line. Following the ``` one may indicate the syntax to be used for highlighting, e.g.
This will be rendered as follows:
For an unordered list, start each item on a line with a *:
- Buy milk
- Drink it
- Be happy
For an ordered list, each item should start with a number followed by a period (1.):
- First item
- Second item
- Third item
- A nested list item
- in an unordered list.
Links can be specified directly or by reference. For example, [this link] references a link definition given at the end of the document:
A direct link is written as
Here's a live example of both link types in action:
Image linked through reference: .
A full table with headers is formatted as follows:
This will render as:
|col 3 is||right-aligned||$1600|
|col 2 is||centered||$12|
|zebra stripes||are neat||$1|
You can also create a simple table without header:
Inline HTML and blocks
You may inline HTML inside a block. For example, we can turn the following span of text into red.
It is also possible to use HTML block-level elements, but please note that they must start and end on a new line. Anything between the start and end HTML tag will be rendered as HTML. It is thus not possible to use markdown syntax within an HTML block. For example, we may use an HTML figure element to include an image: