For documenting with a DokuWiki you will need to learn some basic syntax with which you can format your text documents. We have summarized the most important options for you here. If you want additional options you can look at the complete syntax summary |here.
Within a page, you can organize the information using headings of different levels, just think of chapters, sections, subsections, and paragraphs. By default, headings up to level 3 will be included into the table of contents that is shown at the top of the page. The syntax to generate a heading is simple. A level 1 heading (top level) is generated by placing your heading text between two runs of six equal signs
====== YOUR L1 HEADING ======
Lower ranking headings are generated the same way, just decrease the number of equal signs. Please make sure, that your headings are not too long.
One further option to structure the information is the text format. For example, you have seen above, that we often place information into code blocks. Note, if you place text in a code block, WIKI syntax will not be interpreted, and you see the information as you have typed it. Use the following syntax
'' Enter here your text that should appear in a grey box ''
Once you have spread information across different pages (and probably also across the internet), a creative use of Links can make your DokuWiki a comprehensive knowledge base. We distinguish internal links, i.e. links to pages within the same DokuWiki and external links to any website. See some examples below:
[[:start|internal link]]
[[http://www.uni-frankfurt.de|external link]]
[[wp>wiki|interwiki link]]
Creating tables in a DokuWiki is straightforward. Cells in a table are just separated by a '|' character. If you want to indicate a cell as a header, just prepend the information with a '^' instead of the '|'.
Heading1 | Heading2 | Heading3 | |
---|---|---|---|
Row1 | Value1.1 | Value1.2 | Value1.3 |
Row2 | Value2.1 | Value2.2 | Value2.3 |
DokuWikis have a couple of advantages over traditional paper-based documentations of your work. These are, among others
for i in `ls`; do echo $i; done
This is the indented Text
Obviously, we can show here only a small set of the things that can be done with a DokuWiki. For a more comprehensive overview of the wiki syntax follow this LINK. Feel also free to search the available plugins for further inspirations of how to extend the functionality of a dokuwiki.
Of course, there are also few drawbacks that come along with using a WIKI