Inhaltsverzeichnis
My DokuWiki Syntax Cheatsheet
See DokuWiki wiki:syntax for long explanation.
Headlines
====== Level 1 ====== ===== Level 2 ===== ==== Level 3 ==== === Level 4 === == Level 5 ==
Multi-column text
<WRAP col2> // col3 ... col5 text more text (on modern browsers) </WRAP>
(requires Wrap plugin)
Columns
C++98:
before
C++17:
after
Two or more indepedent columns, width: half third quarters twothirds
<WRAP group> <WRAP half column> C++98: before </WRAP> <WRAP half column> C++17: after </WRAP> </WRAP>
Links and images
www.google.com Google
internal with link
in namespace on homepage
Wikipedia engl. dt.
Interwiki Google Search
C++ reference
Image link:
www.google.com [[http://www.google.com/|Google]] \\ [[quicksyntax|internal]] [[#Formatting|with link]] \\ [[wiki:quicksyntax|in namespace]] [[this>../404.htm|on homepage]] \\ Wikipedia [[wp>Newton|engl.]] [[wpde>Newton|dt.]] \\ [[doku>Interwiki]] [[google>Newton|Google Search]] \\ [[cppref>|C++ reference]] \\ Image link: {{wiki:dokuwiki-128.png?16|image in media folder}}
Tables and lists
Heading 1 | Heading 2 | Heading 3 |
---|---|---|
Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 rowspan by 3 colons |
colspan by double pipe | ||
left heading | center | right |
^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3\\ rowspan by 3 colons | | colspan by double pipe || ::: | ^left heading | center | right |
- lists without
- or
- with
- numbers / ordering
* lists without * or - with - numbers / ordering
Formatting
italic bold underlined deleted
monospaced
subscript superscript
That is ⇒ not <=> parsed ⇐ text
Special characters: ← → ⇐ ⇒ ↔ ⇔ « » – — © ® ™
Smileys:
Anführungszeichen „deutsch“ “english”
//italic// **bold** __underlined__ <del>deleted</del> ''monospaced'' <sub>subscript</sub> <sup>superscript</sup> That is => %%not <=> parsed%% <= text <- -> <= => <-> <=> << >> -- --- (c) (r) (tm) :-) :-( :?: :!: FIXME DELETEME „deutsch“ “english”
ruler and new line
without paragraph
1)
----- ruler and new line\\ without paragraph ((This is a footnote: new line also in table cell.))
quoterequote
> quote >> requote
text in file
- empty.cpp
int main() {}
<file>text in file</file>
<code cpp empty.cpp> int main() {} </code>
Math
inline $ a^2 $ or displayed (right-click to see LaTeX code) \[ \int_{-\infty}^\infty x^3 \,\mathrm dx = 0\]
(requires MathJAX plugin)
$ a^2 $ or displayed (right-click to see LaTeX code) \[ \int_{-\infty}^\infty x^3 \,\mathrm dx = 0 \]