Hatta's markup is based closely on Wiki Creole, but differs in several points. Click on "edit" at the bottom of this page to see the source.
Plain text is just plain text. To separate paragraphs, leave an empty line between them:
like this. Insert a forced line break with two backslashes \\
like this,
but please use that sparingly. You can also use italics and bold by using double slashes //
and double asterisks **
, respectively, on both sides of the text to be emphasized.
Headings are made with equal signs =
at the beginning of the line. The more of them, the smaller the heading:
You can also insert a horizontal line, by using four minus signs ----
at the beginning of the line:
Bullet lists are made by putting asterisks *
at the beginning of every line. Add more asterisks to get a nested sublist:
Links to other pages are made by putting the name of a page between double square brackets [[]]
like this:
[[Home]]
This link will appear like this: Home.
You can also insert images using double curly braces {{}}
like this:
{{logo.png}}
Which will be rendered as .
You can insert pre-formatted text between triple curly braces like this
or even
like this
If you paste some code in a computer language, put the name of the language right after the opening curly braces, with a hashbang like this: {{{#!python}}}
. There is a list of markups supported by Pygments.
Python:
import antigravity
C++:
template<typename T, size_t N> class Fifo
{
public:
Fifo ();
};
Shell:
trap "" 2 3
export LOGNAME PATH
if [ "$TERM" = "" ]
then
if /bin/i386
then
TERM=sun-color
else
TERM=sun
fi
export TERM
fi
You can use smilies:
If the "wiki_words" config option has been enabled, you can use CamelCase.