| name |
description |
obsidian-markdown |
Guide for reading and writing Obsidian markdown files. This skill should be used when working with Obsidian vaults, creating or editing notes for Obsidian, or when the user mentions Obsidian markdown syntax. Covers wikilinks, embeds, callouts, tags, front matter, and other Obsidian-specific extensions to standard markdown. |
This skill provides guidance for reading and writing markdown files compatible with Obsidian.
Obsidian notes should start with YAML front matter:
---
created: 2024-01-15
tags:
- topic/subtopic
- another-tag
---
created - Date the note was created (YYYY-MM-DD format)
tags - Optional list of tags; omit entirely if no tags apply
Other common properties: aliases, cssclasses, publish, title
Obsidian uses [[wikilinks]] for internal links:
| Syntax |
Purpose |
[[Note Name]] |
Link to note |
[[Note Name|display text]] |
Link with custom text |
[[Note Name#Heading]] |
Link to heading |
[[Note Name#^blockid]] |
Link to block |
[[#Heading]] |
Link within same note |
Prefer wikilinks over markdown links for Obsidian content - they support backlinks, graph view, and auto-rename. Use paths ([[folder/note]]) when filenames aren't unique across the vault.
Pipes in tables need escaping - inside a markdown table the pipe ("|") character needs escaping - use \| if you need to use a pipe character insie a table, such as for a link with custom text.
Prefix with "!" to embed content inline:
![[Note Name]]
![[image.png]]
![[image.png|300]]
Use #tag inline or in front matter. Nest with /: #parent/child
==highlighted text==
%%hidden comment%%
> [!note] Optional title
> Content here
> [!warning]- Foldable (collapsed)
> Hidden until clicked
Types: note, tip, info, warning, danger, bug, example, quote, success, failure, question, abstract
Add ^block-id at end of line (with space before) to make it linkable:
This paragraph can be linked to. ^my-id
Then link with [[Note#^my-id]] or embed with ![[Note#^my-id]]
For detailed syntax when needed:
references/syntax-complete.md - Full syntax reference including tables, footnotes, math, diagrams, image sizing, and all formatting options
references/callouts.md - Complete callout types with aliases and color schemes