Markdown Cheatsheet


Headings

# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6

Text Formatting

StyleSyntaxResult
Bold**text** or __text__text
Italic*text* or _text_text
Bold + Italic***text***text
Strikethrough~~text~~text
Inline code`code`code
Highlight==text==text

Lists

Unordered:

- Item one
- Item two
  - Nested item
  - Nested item

Ordered:

1. First
2. Second
3. Third

Task list:

- [ ] Unchecked task
- [x] Checked task

[Link text](https://example.com)
[[Wikilink to note]]
[[Note Title|Custom display text]]

![Alt text](image.png)
![[embedded-note-or-image]]

Blockquotes

> This is a blockquote.
> It can span multiple lines.

> Outer quote
>> Nested quote

Code

Inline: `single line`

Block:

```language
code goes here
```

Common languages: js, python, bash, html, css, sql, json


Tables

| Column 1 | Column 2 | Column 3 |
|---|---|---|
| Cell | Cell | Cell |
| Cell | Cell | Cell |

Alignment:

| Left | Center | Right |
|:---|:---:|---:|
| text | text | text |

Horizontal Rule

---

Footnotes

Here is a sentence with a footnote.[^1]

[^1]: This is the footnote text.

Callouts (Obsidian)

> [!note]
> 
> A general note.

> [!tip]
> 
> A helpful tip.

> [!warning]
> 
> Something to watch out for.

> [!info]
> 
> Informational callout.

> [!summary]
> 
> A summary block.

> [!quote]
> 
> A quote callout.

Add a - after the type to make it collapsible:

> [!note]-
> 
> This content is collapsed by default.

YAML Frontmatter

Placed at the very top of a note, between --- markers:

---
title: Note Title
type: resource
status: unread
created: 2026-04-09
tags:
  - tag1
  - tag2
---

Obsidian-Specific

FeatureSyntax
Wikilink[[Note Name]]
Wikilink with alias[[Note Name|Display Text]]
Embed note![[Note Name]]
Embed heading![[Note Name\#Heading]]
Embed block![[Note Name\#^block-id]]
Tag#tag
Comment (hidden)

Keyboard Shortcuts (Obsidian)

ActionShortcut
BoldCmd + B
ItalicCmd + I
LinkCmd + K
New noteCmd + N
Command paletteCmd + P
Quick switcherCmd + O
Search vaultCmd + Shift + F
Toggle preview/editCmd + E