Paragraphs and line breaks
Separate paragraphs with a blank line: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
| Style | Syntax | Example | Output |
|---|---|---|---|
| Bold | ** ** or __ __ | **Bold text** | Bold text |
| Italic | * * or _ _ | *Italic text* | Italic text |
| Strikethrough | ~~ ~~ | ~~Striked out text~~ | |
| Highlight | == == | ==Highlighted text== | ==Highlighted text== |
| Bold and nested italic | ** ** and _ _ | **Bold and _nested italic_ text** | Bold and nested italic text |
| Bold and italic | *** *** | ***Bold and italic text*** | Bold and italic text |
\) before it:
Inline code and code blocks
Inline code
Wrap text in single backticks to format it as inline code:``code with a backtick inside“ `.
Code blocks
Enclose code with three or more backticks (or tildes) to create a code block: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:Blockquotes
Add a> before text to create a blockquote:
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:
- [?] or - [-].
Nesting lists
Indent list items to nest them. You can mix ordered, unordered, and task lists: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:
Links
Internal links
Obsidian supports two formats for linking between notes:External links
Wrap the link text in brackets and the URL in parentheses:%20 or wrap the URL in angle brackets:
Images
Add a! before a link to embed an image:
|widthxheight (or just |width) to the link destination:
Footnotes
Add footnotes using the[^label] syntax:
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:
| Character | Escaped |
|---|---|
| Asterisk | \* |
| Underscore | \_ |
| Hashtag | \# |
| Backtick | \` |
| Pipe (used in tables) | | |
| Tilde | \~ |