Markdown Syntax

Emphasis

**bold**
*italics*
~~strikethrough~~
==mark==
bold
italics
strikethrough
mark
You can use backslash escapes to generate literal characters that are used for formatting otherwise, e.g.
\*literal asterisks\*
*literal asterisks*

Headings

# h1 - Large header

h1 - Large Header

## h2 - Medium header

h2 - Medium Header

### h3 - Small header

h3 - Small Header

#### h4 - Tiny header

h4 - Tiny Header

Lists

- Generic list item
- Generic list item
- Generic list item
  • Generic list item
  • Generic list item
  • Generic list item

1. Numbered list item
2. Numbered list item
3. Numbered list item
  1. Numbered list item
  2. Numbered list item
  3. Numbered list item
[[WikiPage]]
[[Text to display|WikiPage]]
http://www.example.com
[Link with text](http://example.com)

Quotes

> This is a quote.
> It can span multiple lines!
>> And multiple levels.
>> *With markdown syntax.*

This is a quote. It can span multiple lines!

And multiple levels. With markdown syntax.

Images

You can copy n paste images directly into the editor, they will be uploaded as attachments.

![](http://www.example.com/image.jpg)

Check the attachments of a page, there are links for copy'n'paste.

Tables

| Column 1 | Column 2 | Column 3 |
| -------- | -------- | -------- |
| John     | Doe      | Peach    |
| Mary     | Smith    | Banana   |
Column 1 Column 2 Column 3
John Doe Peach
Mary Smith Banana

Code

Inline code `int n = 1` with backticks.
Inline code int n = 1 with backticks.
```
Code Blocks
```
Code Blocks
```python
#!/usr/bin/env python
assert 1 + 1 == 2
print("Hello World!")```
#!/usr/bin/env python
assert 1 + 1 == 2
print("Hello World!")

Mathjax

Inline math: `$a^2+b^2=c^2$`
Inline Math: \(a^2+b^2=c^2\)
Math block:
```math
a^2+b^2=c^2
```
Math block: \[a^2+b^2=c^2\]
\(\TeX\) like syntax:
Inline Math: $a^2+b^2=c^2$
Inline Math: \(a^2+b^2=c^2\)
Equation:
$$a^2+b^2=c^2$$
\[a^2+b^2=c^2\]

Footnotes

Footnote identifiers[^1] are single characters
or words[^bignote]. And can be referenced
multiple[^1] times.

[^1]: Footnotes can be a single line.

[^bignote]: Or more complex.

    Indent paragraphs to include them
    in the footnote.

    Add as many paragraphs as you like.
Footnote identifiers1 are single characters or words2. And can be referenced multiple1 times.
  1. a, b Footnotes can be a single line.
  2. Or more complex.

    Indent paragraphs to include them in the footnote.

    Add as many paragraphs as you like.

  3. GNU Terry Pratchett.

Blocks

These special blocks are not part of the markdown standard, but are helpful for structuring content.

Fancy blocks

::: info
# Head of the block.
With _formatted_ content.
:::

Head of the block

With formatted content.
Block styles available: info, success, warning, danger and none.

Spoiler blocks

>! Spoiler blocks reveal their
>! content on click on the icon.

Folded blocks

>| # Headline is used as summary
>| with the details folded.
Headline is used as summary

with the details folded.

Alerts

> [!NOTE]
> Useful for highlighting special
> information in your code.
Note

Useful for highlighting special information in your code.

Alerts available: [!NOTE], [!TIP], [!IMPORTANT], [!WARNING] and [!CAUTION].

Diagrams

Using Mermaid you can create diagrams and visualizations in your wiki pages.
```mermaid
flowchart LR
  A[An Otter Wiki]-- supports ---Mermaid
```
flowchart LR
  A[An Otter Wiki]-- supports ---Mermaid
Mermaid support all kinds of diagrams: flowcharts, class diagrams, pie charts, mindmaps, etc. For more information see the Mermaid Documentation.

Remark

There's actually a lot more to Markdown than this. See the official introduction and syntax for more information. Please Note: An Otter Wiki is not using the official implementation. This might lead to small differences in the little things.
Emphasis Headings Lists Links Quotes Images Tables Code Mathjax Footnotes Blocks Diagrams
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9