ref/markdown


Note

only includes markdown features currently supported by this site

References

Text

**Bold**, *italic*, ***bold-italic***, ~~strikethrough~~

Bold, italic, bold-italic, strikethrough

Lists

- unordered
- list
    - nested

1. ordered
2. list
    1. nested
  1. ordered
  2. list
    1. nested

Quotes

> quote from a thing

quote from a thing

Dividers

also known as "horizontal rule"

---

Headings

# H1
## H2
### H3
#### H4
##### H5
###### H6

H1

H2

H3

H4

H5
H6

Code

inline

inline `code`

inline code

block

```swift
// code block
print("hello world")
```
// code block
print("hello world")

Links

(bullets not required)

- [to this page](/ref/markdown)
- [to this heading](#links)
- [to Wikipedia](https://wikipedia.org)

Images

![logo](/images/reeddoesstuff.svg)

logo

Tables

| alignment | is | possible |
| --: | :-: | :-- |
| 👁️ | 👅 | 👁️ |
| why | `hello` | there |
alignment is possible
👁️ 👅 👁️
why hello there

Callouts

> [!NOTE]
> This is a note.

> [!WARNING]
> This is a warning.

> [!TIP]
> This is a tip.

> [!CAUTION]
> Err on the side of this.

> [!IMPORTANT]
> This is important.

Note

This is a note.

Warning

This is a warning.

Tip

This is a tip.

Caution

Err on the side of this.

Important

This is important.

Collapsable Headings

Warning

This is not general markdown syntax. It is just one of the features of this website, made possible via this markdown-it plugin: markdown-it-collapsable

++> # H1 (open initially)
stuff
++>

+++ ## H2 (closed initially)
stuff
+++

++++++ ### H3 (nested)
🪆
+++++ #### H4
🪆🪆
++++ ##### H5
🪆🪆🪆
+++ ###### H6
🪆🪆🪆🪆
+++
++++
+++++
++++++

H1 (open initially)

stuff

H2 (closed initially)

stuff

H3 (nested)

🪆

H4

🪆🪆

H5

🪆🪆🪆

H6

🪆🪆🪆🪆



Jump to section:
Text
Lists
Quotes
Dividers
Headings
Code
Links
Images
Tables
Callouts
Collapsable Headings