How can I insert preformatted text?

Created by Jendrik Seipp on on 2011-09-20
Keywords:
format monospace verbatim
Last updated by:
Jendrik Seipp on on 2011-09-20

For inserting e.g. code and keep all formatting you can use backticks.

``2 backticks turns the text into monospace font``

```
   with 3 backticks you can format
   a whole paragraph and keep the formatting
```

Keep in mind that in edit mode a verbatim block (with 3 backticks) is not formatted in monospace.