Obsidian Markdown Editor & Cheat Sheet

Write a note on the left and see the Obsidian Markdown rendered as reading view on the right — wikilinks, embeds, callouts, properties, tags, highlights, tasks, LaTeX math, and Mermaid diagrams. Copy it into your vault when it looks right.

Obsidian Markdown Cheat Sheet

Every piece of Obsidian Markdown syntax in one place — the standard formatting first, then the extensions that only exist in Obsidian. Copy a row into the editor above to watch it render.

Basic formatting

What you wantWhat you typeNotes
Headings# H1 … ###### H6Six levels, space after the hashes required.
Bold**bold**__bold__ works too.
Italic*italic*Or _italic_.
Bold italic***both***Three asterisks, or ___both___.
Strikethrough~~struck~~GitHub Flavored Markdown, supported in Obsidian.
Highlight==highlight==An Obsidian Markdown extra — not standard CommonMark.
Inline code`code`Nothing inside backticks is formatted.
Code block```jsFence with three backticks and a language for highlighting.
Quote> quotedOne > per line; blank > lines separate paragraphs.
Bullet list- item* and + work; indent with Tab to nest.
Numbered list1. item1) item is also accepted.
Task list- [ ] todo- [x] marks it done.
Horizontal rule---*** and ___ work as well.
Footnote[^1]Define it anywhere with [^1]: the note text.
Inline footnote^[side note]No separate definition line needed.
Escape\*literal\*A backslash prints the next character as typed.

Links and embeds

What you wantWhat you typeNotes
Link a note[[Note name]]The Obsidian Markdown wikilink that makes the graph view work.
Link with a display name[[Note name|Alias]]Shows the alias, still links the note.
Link a heading[[Note#Heading]]Chain deeper headings with more # separators.
Link a block[[Note#^block-id]]Points at one paragraph rather than a section.
Block identifier^block-idPut it at the end of the line you want to link.
Embed a note![[Note name]]The ! prefix pulls the content in rather than linking it.
Embed a section![[Note#Heading]]Embeds only that section of the note.
Embed an image![[image.png]]Any attachment in the vault, by file name.
Resize an image![[image.png|300]]Width in pixels, or 300x200 for both dimensions.
Embed a PDF page![[doc.pdf#page=3]]#height=400 sets the viewer height.
Standard link[text](Note%20name.md)The portable alternative when wikilinks are switched off.
External image![alt|640x480](url)Obsidian reads the size from the alt text.

Obsidian Markdown extras

What you wantWhat you typeNotes
Callout> [!note] Title13 built-in types in Obsidian Markdown; the title is optional.
Foldable callout> [!tip]- Title- starts folded, + starts expanded.
Nested callout>> [!info]Indent a second callout inside the first.
Properties--- tags: [pkm] ---YAML at the very top of the note, nothing above it.
Tag#tagLetters, numbers, _, -, / — never numbers only.
Nested tag#project/notesSlashes build a tag hierarchy in the tag pane.
Comment%%hidden%%Visible while editing, invisible in reading view.

Advanced formatting

What you wantWhat you typeNotes
Inline math$e^{i\pi} + 1 = 0$LaTeX between single dollar signs.
Math block$$ … $$Obsidian renders math with MathJax.
Diagram```mermaidFlowcharts, sequence, Gantt, and mindmaps render natively.
Table| a | b | | --- | --- |GFM tables; cells accept inline formatting and wikilinks.
Nested list - sub-itemOne Tab per level, mixing bullets and numbers freely.

Obsidian Markdown Callouts

In Obsidian Markdown a callout is a blockquote with a type in brackets. Thirteen ship with Obsidian, each with its own color and icon, and every one of them folds.

[!note]
[!abstract]summary, tldr
[!info]
[!todo]
[!tip]hint, important
[!success]check, done
[!question]help, faq
[!warning]caution, attention
[!failure]fail, missing
[!danger]error
[!bug]
[!example]
[!quote]cite

What you type

> [!warning] Check the source
> Callouts nest and fold.
>> [!info] Nested callout

> [!tip]- Folded by default

Titles, folding, and nesting

  • Text after the type becomes the title: > [!note] My title. Leave it out and Obsidian uses the type name.
  • A - after the type makes the callout start folded, a + makes it start open and foldable.
  • Add another > to nest a callout inside a callout, as deep as you need.
  • The body takes any Obsidian Markdown — lists, code, math, even embeds and wikilinks.

Properties, Tags, and Comments

The metadata layer of Obsidian Markdown: structured fields at the top of a note, tags in the body, and notes-to-self that never reach the reader.

Properties (YAML frontmatter)

Obsidian Markdown uses a --- block at the very top — nothing above it, not even a blank line — for typed fields. tags, aliases, and cssclasses have built-in meaning; the rest are yours to query with Dataview or Bases. Obsidian shows the block as a properties table, not as raw YAML.

Tags and nested tags

Obsidian Markdown accepts #tag anywhere in the body, or a tags property at the top. Letters, numbers, underscores, hyphens, and slashes are allowed, and a tag can never be numbers only. #project/notes nests under #project in the tag pane.

Comments

%%text%% stays visible while you edit and disappears in reading view, in exports, and in published notes — the right place for a to-do about the note itself.

Block identifiers

A ^block-id at the end of a line marks that block so other notes can link or embed it. Like comments, it is invisible once the note is rendered.

What you type

---
title: Reading notes
tags:
  - pkm
  - inbox
aliases:
  - Notes on reading
---

Tagged inline too: #pkm/reading

%% A comment only I can see %%

Quotable line ^a1b2c3

Preview Obsidian Markdown in 4 Steps

From a draft to a note you can paste into your vault, without switching to reading view and back on every edit.

1

Paste a note or start from the sample

The sample note covers every part of Obsidian Markdown. Paste your own draft over it — everything stays in your browser.

2

Add the syntax you need

The toolbar writes the Obsidian Markdown for wikilinks, embeds, callouts, tags, tasks, properties, math, and Mermaid, so you never have to count brackets.

3

Check the reading view

The right pane shows the rendered result: callout colors, property pills, highlighted text, resolved links, and rendered diagrams.

4

Copy it into your vault

Copy the note or download it as .md and drop it in your vault folder. Obsidian stores plain Markdown files, so nothing is lost in transit.

Write Your Obsidian Markdown Now

Go back to the editor, add the wikilinks and callouts you need, check the reading view, and copy the Obsidian Markdown note into your vault.