Markdown.Ref.md
August 28, 2023•1,292 words
Markdown Reference
On → Listed.to → InfoSec.press → InfoSec.exchange
H2 Header
H3 header
H4 Header
H5 Header
H6 Header
## H2 Header
### H3 header
#### H4 Header
##### H5 Header
###### H6 Header
Format Text
Italic emphasis , Alternative italic emphasis
Bold emphasis , Alternative bold emphasis
~~Strikethrough~~, Highlight
*Italic emphasis* , _Alternative italic emphasis_
**Bold emphasis** , __Alternative bold emphasis__
~~Strikethrough~~, ==Highlight==
Break line (two spaces at end of line)
Break line (two spaces at end of line)
Block quote
> Block quote
Sentence with Inline code
in the middle.
Sentence with `Inline code` in the middle.
Code Blocks
Code blocks
are
awesome
Lists
Ordered and Unordered
- Unordered list
- ...with asterisk/star
- Test
* Unordered list
* ...with asterisk/star
* Test
- Another unordered list
- ...with hyphen/minus
- Test
- Another unordered list
- ...with hyphen/minus
- Test
- Ordered list
- Test
- Test
- Test
1. Ordered list
2. Test
3. Test
4. Test
- Nested lists
- Unordered nested list
- Test
- Test
- Ordered nested list
- Test
- Test
- Double-nested unordered list
- Test
- Unordered
- Test a
- Test b
- Ordered
- Test 1
- Test 2
- Nested lists
* Unordered nested list
* Test
* Test
- Ordered nested list
1. Test
2. Test
- Double-nested unordered list
- Test
- Unordered
- Test a
- Test b
- Ordered
1. Test 1
2. Test 2
Checklist
- [ ] Cat
- [x] Salad
- [x] Clean
- [ ] Cook
* [ ] Cat
* [x] Salad
1. [x] Clean
2. [ ] Cook
Links
[Link](https://codeberg.org/@devsalad)
File in same folder as the document. Use %20 for spaces!
[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 |
Test | Test | Test |
| Left aligned | Middle aligned | Right aligned |
| :--------------- | :------------------: | -----------------: |
| Test | Test | Test |
| Test | Test | Test |
| Test | Test | Test |
÷÷÷÷
Shorter | Table | Syntax |
---|---|---|
Test | Test | Test |
Test | Test | Test |
Test | Test | Test |
Shorter | Table | Syntax
:---: | ---: | :---
Test | Test | Test
Test | Test | Test
Test | Test | Test
<!-- Comment: Not visibile in view. Can also span across multiple lines. End with:-->
Math (KaTeX)
Math inline
$ I = \frac V R $
$ I = \frac V R $
Math block
$$\begin{array}{c}
abla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}}
abla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \
abla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \
abla \cdot \vec{\mathbf{B}} & = 0 \end{array}$$
$$\begin{array}{c}
abla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}}
abla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\
abla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\
abla \cdot \vec{\mathbf{B}} & = 0 \end{array}$$
$$\frac{kt}{ke} = \sqrt{2}$$
$$\frac{k_t}{k_e} = \sqrt{2}$$
Format Text (continued)
Text color
Black text with background color / highlight
<span style='color:#000000;background-color:#ffcb2e;'>Black text with background color / highlight</span>
Text foreground color
<span style='color:#3333ff;'>Text foreground color</span>
Text with colored outline / Text with colored outline
<span style='text-shadow: 0px 0px 2px #FF0000;'>Text with colored outline</span> / <span style='text-shadow: 0px 0px 2px #0000FF; color: white'>Text with colored outline</span>
Text sub and superscript
Underline
<u>Underline</u>
The salad sandwich was super duper
The <sub>salad</sub> sandwich was <sup>super <sup>duper</sup></sup>
Super special characters: ⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ⁺ ⁻ ⁼ ⁽ ⁾ ⁿ ™ ® ℠
Text positioning
<div markdown='1' align='right'>
text on the **right**
</div>
<div markdown='1' align='center'>
text in the **center**
(one empy line above and below
required for Markdown support OR markdown='1')
</div>
Block Text
<div markdown='1' style='text-align: justify; text-justify: inter-word;'>
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.
</div>
Dropdown
Click to Expand/Collapse
Expanded content. Shows up and keeps visible when clicking expand. Hide again by clicking the dropdown button again.<details markdown='1'><summary>Click to Expand/Collapse</summary>
Expanded content. Shows up and keeps visible when clicking expand. Hide again by clicking the dropdown button again.
</details>
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).
<div style='page-break-after: always'></div>
Multimedia
Images

<img src="https://logo.clearbit.com/torproject.org"/>
Videos
Youtube Welcome to Upper Austria
**Youtube** [Welcome to Upper Austria](https://www.youtube.com/watch?v=RJREFH7Lmm8)
<iframe width='360' height='200' src='https://www.youtube.com/embed/RJREFH7Lmm8'> </iframe>
Peertube Road in the wood
**Peertube** [Road in the wood](https://open.tube/videos/watch/8116312a-dbbd-43a3-9260-9ea6367c72fc)
<div><video controls><source src='https://peertube.mastodon.host/download/videos/8116312a-dbbd-43a3-9260-9ea6367c72fc-480.mp4' </source></video></div>
Audio and Music
Web audio Guifrog - Xia Yu
**Web audio** [Guifrog - Xia Yu](https://www.freemusicarchive.org/music/Guifrog/Xia_Yu)
<audio controls src='https://files.freemusicarchive.org/storage-freemusicarchive-org/music/ccCommunity/Guifrog/Xia_Yu/Guifrog_-_Xia_Yu.mp3'></audio>
Charts Graphs Diagrams
Pie, flow, sequence, class, state, ER
See also: mermaidjs live editor.
graph LR
A[Square Rect] -- Link text --> B((Circle))
A --> C(Round Rect)
B --> D{Rhombus}
C --> D
```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
!!! warning 'Optional Title'
Block-Styled Side Content with **Markdown support**
!!! info ''
No-Heading Content
!!! info ''
No-Heading Content
??? bug 'Collapsed by default'
Collapsible Block-Styled Side Content
??? bug 'Collapsed by default'
Collapsible Block-Styled Side Content
???+ example 'Open 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 project by Gregor Santner then modified for nefarious knowledge purposes by D.Burch and is licensed Creative Commons Zero 1.0 (public domain).