Skip to main content
Obsidian notes are written in Markdown — a lightweight syntax that lets you format text using plain characters. This page covers the core formatting elements you’ll use most. For more advanced syntax including tables, math, and diagrams, see Advanced formatting.

Paragraphs and line breaks

Separate paragraphs with a blank line:
To insert a line break within a paragraph (without starting a new one), either add two spaces at the end of the line before pressing Enter, or press Shift+Enter.
Obsidian includes a Strict line breaks setting (Settings → Editor → Strict Line Breaks) that makes line break behavior match the standard Markdown specification. When enabled, a single Enter with no trailing spaces merges the two lines; two or more trailing spaces produce a <br>; and a double Enter creates a new paragraph.

Headings

Add up to six # symbols before your heading text. The number of symbols sets the heading level.

Bold, italic, and highlights

To display a special character without triggering its formatting, place a backslash (\) before it:

Inline code and code blocks

Inline code

Wrap text in single backticks to format it as inline code:
To include a backtick inside inline code, surround it with double backticks: ``code with a backtick inside“ `.

Code blocks

Enclose code with three or more backticks (or tildes) to create a code block:
Add a language identifier after the opening backticks to enable syntax highlighting:
Obsidian uses Prism for syntax highlighting.
Source mode and Live Preview do not support PrismJS, and may render syntax highlighting differently than Reading view.

Nesting code blocks

To include a code block inside another code block, use more backticks (or tildes) for the outer block:
The outer block must always use more fence characters than any inner block, or use a different fence character type.

Blockquotes

Add a > before text to create a blockquote:
You can turn a blockquote into a callout by adding [!info] as the first line inside the quote.

Lists

Unordered lists

Start each item with -, *, or +:

Ordered lists

Start each item with a number followed by . or ):

Task lists

Start each item with - [ ] for an incomplete task, or - [x] for a completed one:
You can toggle tasks in Reading view by selecting the checkbox. You can use any character inside the brackets to mark a task as complete — for example, - [?] or - [-].

Nesting lists

Indent list items to nest them. You can mix ordered, unordered, and task lists:
Nested task list:
Use Tab or Shift+Tab to indent or unindent selected list items.

Horizontal rules

Use three or more stars ***, hyphens ---, or underscores ___ on their own line:
Obsidian supports two formats for linking between notes:
Wrap the link text in brackets and the URL in parentheses:
If your URL contains spaces, replace them with %20 or wrap the URL in angle brackets:

Images

Add a ! before a link to embed an image:
Control image dimensions by appending |widthxheight (or just |width) to the link destination:

Footnotes

Add footnotes using the [^label] syntax:
You can also write inline footnotes — the caret goes outside the brackets:
Inline footnotes only work in Reading view, not in Live Preview.

Comments

Wrap text with %% to add a comment. Comments are only visible in Editing view and are never rendered:

Escaping Markdown syntax

Place a backslash (\) before a special character to display it literally without triggering formatting:
For numbered lists, place the backslash before the period (not the number) to prevent automatic list formatting: