An Otter Wiki - Markdown Guide
Emphasis
**bold** *italics* ~~strikethrough~~ ==mark==
bold
italics
strikethrough
mark
italics
mark
\*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 items - in an unordered list
- Generic list items
- in a unordered list
1. List items 2. in an ordered list 3. numbered with numbers
- List items
- in an ordered list
- numbered with numbers
1. Numbered list with - a nested - unordered list 2. inside
- Numbered list with
- a nested
- unordered list
- inside
Note: To create nested sublists, they must be indented the same number of spaces that a paragraph would need to be in order to be included in the list item. In other words, sublist markers must match the indentation of the content of the outer list items.
Links
[[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.

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
To add syntax highlighting, specify a language next to the backticks before the fenced code block.
```python #!/usr/bin/env python assert 1 + 1 == 2 print("Hello World!") ```
#!/usr/bin/env python
assert 1 + 1 == 2
print("Hello World!")
To enable line numbers in the code block, append an equal sign
=
to the language.
```python= print("Hello Line Numbers!") ```
1 | print("Hello Line Numbers!") |
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\]
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.
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.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.
Note
Useful for highlighting special information.
[!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 ```