Page Formatting ~ Basic Text Styles

Basic Text Formatting

Many of the following codes can be easily inserted within the editing window by using the quickbuttons in a similar fashion to word-processors. Select the text you want to format so that it is highlighted, then click the desired quickbutton.

Font Style

DokuWiki supports bold, italic, underlined and monospaced texts. Of course you can combine all these.

DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' texts.
Of course you can **__//''combine''//__** all these.

You can use subscript and superscript, too.

You can use <sub>subscript</sub> and <sup>superscript</sup>, too.

You can mark something as struck-through as well.

You can mark something as <del>struck-through</del> as well.

Font Colour

The Color Plugin allows text and its background to have a variety of colours, that can be combined with the font styles.

The Color Plugin allows text and its background to have a 
<color blue>variety</color> of <color red/yellow>colours</color>,
that can be **<color green/rgb(220,220,220)>combined</color>**
with the __//<color #00F/#0F0>font styles</color>//__.

The supported colour formats are colourname, and #FFF[FFF], and rgb(255[%],255[%],255[%]).

Paragraphs

Paragraphs are created from blank lines. If you want to force a newline without a paragraph, you can use two backslashes followed by a whitespace or the end of line.

This is some text with some linebreaks
Note that the two backslashes are only recognized at the end of a line
or followed by
a whitespace \\this happens without it.

This is some text with some linebreaks\\ Note that the
two backslashes are only recognized at the end of a line\\
or followed by\\ a whitespace \\this happens without it.

You should use forced newlines only if really needed.

Lists

DokuWiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a * for unordered lists or a - for ordered ones.

  • This is a list.
  • The second item.
    • You may have different levels.
      • Each with a different bullet.
  • Another item.
  * This is a list.
  * The second item.
    * You may have different levels.
      * Each with a different bullet. 
  * Another item.
  1. The same list but ordered.
  2. Another item.
    1. Just use indention for deeper levels.
      1. Each with a different numbering style.
  3. That's it!
  - The same list but ordered.
  - Another item.
    - Just use indention for deeper levels.
      - Each with a different numbering style. 
  - That's it!

Headlines

You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically – this can be disabled by including the string ~~NOTOC~~ in the document.

Headline Level 1

through Headline Level 2
and then Headline Level 3 to

Headline Level 4

Headline Level 5
====== Headline Level 1 =====
===== Headline Level 2 =====
==== Headline Level 3 ====
=== Headline Level 4 ===
== Headline Level 5 ==

Horizontal Lines

By using four or more dashes, you can make a horizontal line:



----