# Markdown Reference
Automatically generate _table of contents_ by checking the option here: `Settings > Format > Markdown`.
## H2 Header
### H3 header
#### H4 Header
##### H5 Header
###### H6 Header
## Format Text
*Italic emphasis* , _Alternative italic emphasis_
**Bold emphasis** , __Alternative bold emphasis__
~~Strikethrough~~
Break line (two spaces at end of line)
> Block quote
`Inline code`
```
Code blocks
are
awesome
```
## Lists
### Ordered & unordered
* Unordered list
* ...with asterisk/star
* Test
- Another unordered list
- ...with hyphen/minus
- Test
1. Ordered list
2. Test
3. Test
4. Test
- Nested lists
* Unordered nested list
* Test
* Test
* Test
- Ordered nested list
1. Test
2. Test
3. Test
4. Test
- Double-nested unordered list
- Test
- Unordered
- Test a
- Test b
- Ordered
1. Test 1
2. Test 2
### Checklist
* [ ] Salad
* [x] Potatoes
1. [x] Clean
2. [ ] Cook
## Links
[Link](https://duckduckgo.com/)
[File in same folder as the document.](markor-markdown-reference.md) Use %20 for spaces!
## Tables
| Left aligned | Middle aligned | Right aligned |
| :--------------- | :------------------: | -----------------: |
| Test | Test | Test |
| Test | Test | Test |
÷÷÷÷
Shorter | Table | Syntax
:---: | ---: | :---
Test | Test | Test
Test | Test | Test
## Math (KaTeX)
See [reference](https://katex.org/docs/supported.html) & [examples](https://github.com/waylonflinn/markdown-it-katex/blob/master/README.md). Enable by checking Math at `Settings > Markdown`.
### Math inline
$ I = \frac V R $
### Math block
$$\begin{array}{c} \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\ \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\ \nabla \cdot \vec{\mathbf{B}} & = 0 \end{array}$$
$$\frac{k_t}{k_e} = \sqrt{2}$$
## Format Text (continued)
### Text color
Text with background color / highlightText foreground colorText with colored outline / Text with colored outline
### Text sub & superscript
Underline
The Subway sandwich was super
Super special characters: ⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ⁺ ⁻ ⁼ ⁽ ⁾ ⁿ ™ ® ℠
### Text positioning
text on the **right**
text in the **center**
(one empy line above and below
required for Markdown support OR markdown='1')
### Block Text
lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
### Dropdown
Click to Expand/Collapse
Expanded content. Shows up and keeps visible when clicking expand. Hide again by clicking the dropdown button again.
### Break page
To break the page (/start a new page), put the div below into a own line.
Relevant for creating printable pages from the document (Print / PDF).
## Multimedia
### Images
![Image](file:///android_asset/img/schindelpattern.jpg)
### Videos
**Youtube** [Welcome to Upper Austria](https://www.youtube.com/watch?v=RJREFH7Lmm8)
**Peertube** [Road in the wood](https://open.tube/videos/watch/8116312a-dbbd-43a3-9260-9ea6367c72fc)
### Audio & Music
**Web audio** [Guifrog - Xia Yu](https://www.freemusicarchive.org/music/Guifrog/Xia_Yu)
**Local audio** Yellowcard - Lights up in the sky
## Charts / Graphs / Diagrams (mermaidjs)
Pie, flow, sequence, class, state, ER
See also: mermaidjs [live editor](https://mermaid-js.github.io/mermaid-live-editor/).
```mermaid
graph LR
A[Square Rect] -- Link text --> B((Circle))
A --> C(Round Rect)
B --> D{Rhombus}
C --> D
```
## Admonition Extension
Create block-styled side content.
Use one of these qualifiers to select the icon and the block color: abstract, summary, tldr, bug, danger, error, example, snippet, failure, fail, missing, question, help, faq, info, todo, note, seealso, quote, cite, success, check, done, tip, hint, important, warning, caution, attention.
!!! warning 'Optional Title'
Block-Styled Side Content with **Markdown support**
!!! info ''
No-Heading Content
??? bug 'Collapsed by default'
Collapsible Block-Styled Side Content
???+ example 'Open by default'
Collapsible Block-Styled Side Content
------------------
This Markdown reference file was created for the [Markor](https://github.com/gsantner/markor) project by [Gregor Santner](gsantner AT mailbox DOT org) and is licensed [Creative Commons Zero 1.0](https://creativecommons.org/publicdomain/zero/1.0/legalcode) (public domain). File revision 4.
------------------