moin2doku/syntaxreference.txt
2012-06-20 00:48:14 +02:00

95 lines
1.3 KiB
Plaintext

= Headers =
== Header 2 ==
=== Header 3 ===
==== Header 4 ====
===== Header 5 =====
= Font styles =
{{{
Normal text, ''emphasized'', '''strong''', __underline__, ,,subscript,,, ^superscript^, `typewriter` and {{{typewriter}}}.
}}}
Normal text, ''emphasized'', '''strong''', __underline__, ,,subscript,,, ^superscript^, `typewriter` and {{{typewriter}}}.
== Syntax Highlighting ==
{{{#!python
# python code
print code.colorize("abc", 1 + 1)
# third line
# fourth line
}}}
{{{#!cplusplus
foo = new something(1, "soo\nice")
}}}
= Bullet list =
{{{
* item 1
* item 2, with gap
* item 3
* item 3.1
}}}
* item 1
* item 2, with gap
* item 3
* item 3.1
= Numbered list =
{{{
1. item 1
i. item 1
i. item 2
}}}
1. item 1
i. item 1
i. item 2
{{{
1. item 2
a. item 1
a. item 2
}}}
1. item 2
a. item 1
a. item 2
= Code display =
{{{
line 1
indented 4 characters
}}}
{{{
plain
multiline block
with some ''text'' in it
fourth line
sixth line!
}}}
= Rules =
{{{
--- (not a rule)
----
-----
------
-------
--------
---------
----------
-------------------------------------------- (not thicker than 10)
}}}
--- (not a rule)
----
-----
------
-------
--------
---------
----------
-------------------------------------------- (not thicker than 10)