Claude-obsidian obsidian-markdown
Write correct Obsidian Flavored Markdown: wikilinks, embeds, callouts, properties, tags, highlights, math, and canvas syntax. Reference this when creating or editing any wiki page. Triggers on: write obsidian note, obsidian syntax, wikilink, callout, embed, obsidian markdown, wikilink format, callout syntax, embed syntax, obsidian formatting, how to write obsidian markdown.
git clone https://github.com/AgriciDaniel/claude-obsidian
T=$(mktemp -d) && git clone --depth=1 https://github.com/AgriciDaniel/claude-obsidian "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/obsidian-markdown" ~/.claude/skills/agricidaniel-claude-obsidian-obsidian-markdown && rm -rf "$T"
skills/obsidian-markdown/SKILL.mdobsidian-markdown: Obsidian Flavored Markdown
Reference this skill when writing any wiki page. Obsidian extends standard Markdown with wikilinks, embeds, callouts, and properties. Getting syntax wrong causes broken links, invisible callouts, or malformed frontmatter.
Cross-reference: If the kepano/obsidian-skills plugin is installed, prefer its canonical obsidian-markdown skill for authoritative Obsidian syntax reference. Otherwise, use the reference below. See also github.com/kepano/obsidian-skills.
Wikilinks
Internal links use double brackets. The filename without extension.
| Syntax | What it does |
|---|---|
| Basic link |
| Aliased link (shows "Display Text") |
| Link to a specific heading |
| Link to a specific block |
Rules:
- Case-sensitive on some systems. Match the exact filename.
- No path needed: Obsidian resolves by filename uniqueness.
- If two files have the same name, use
to disambiguate.[[Folder/Note Name]]
Embeds
Embeds use
! before the wikilink. They display the content inline.
| Syntax | What it does |
|---|---|
| Embed a full note |
| Embed a section |
| Embed an image |
| Embed image with width 300px |
| Embed a PDF (Obsidian renders natively) |
| Embed audio |
Callouts
Callouts are blockquotes with a type keyword. They render as styled alert boxes.
> [!note] > Default informational callout. > [!note] Custom Title > Callout with a custom title. > [!note]- Collapsible (closed by default) > Click to expand. > [!note]+ Collapsible (open by default) > Click to collapse.
All callout types
| Type | Aliases | Use for |
|---|---|---|
| : | General notes |
| , | Summaries |
| : | Information |
| : | Action items |
| , | Tips and highlights |
| , | Positive outcomes |
| , | Open questions |
| , | Warnings |
| , | Errors or failures |
| | Critical issues |
| : | Known bugs |
| : | Examples |
| | Quotations |
| : | Conflicting information (wiki convention) |
Properties (Frontmatter)
Obsidian renders YAML frontmatter as a Properties panel. Rules:
--- type: concept # plain string title: "Note Title" # quoted if it contains special chars created: 2026-04-08 # date as YYYY-MM-DD (not ISO datetime) updated: 2026-04-08 tags: - tag-one # list items use - format - tag-two status: developing related: - "[[Other Note]]" # wikilinks must be quoted in YAML sources: - "[[source-page]]" ---
Rules:
- Flat YAML only. Never nest objects.
- Dates as
, notYYYY-MM-DD
.2026-04-08T00:00:00 - Lists as
, not inline- item
.[a, b, c] - Wikilinks in YAML must be quoted:
."[[Page]]"
field: Obsidian reads this as the tag list, searchable in vault.tags
Tags
Two valid forms:
#tag-name : inline tag anywhere in the body #parent/child-tag : nested tag (shows hierarchy in tag pane)
In frontmatter:
tags: - research - ai/obsidian
Do not use
# inside frontmatter tag lists. Just the tag name.
Text Formatting
Standard Markdown plus Obsidian extensions:
| Syntax | Result |
|---|---|
| Bold |
| Italic |
| Strikethrough |
| Highlighted text (yellow in Obsidian) |
| Inline code |
Math
Obsidian uses MathJax/KaTeX:
Inline math:
$E = mc^2$
Block math:
$$ \int_0^\infty e^{-x} dx = 1 $$
Code Blocks
Standard fenced code blocks. Obsidian highlights all common languages:
```python def hello(): return "world" ```
Tables
Standard Markdown tables:
| Column A | Column B | Column C | |----------|----------|----------| | Value | Value | Value | | Value | Value | Value |
Obsidian renders tables natively. No plugin needed.
Mermaid Diagrams
Obsidian renders Mermaid natively:
```mermaid graph TD A[Start] --> B{Decision} B -->|Yes| C[End] B -->|No| D[Loop] D --> A ```
Supported:
graph, sequenceDiagram, gantt, classDiagram, pie, flowchart.
Footnotes
This sentence has a footnote.[^1] [^1]: The footnote text goes here.
What NOT to Do
- Do not use
for internal links: use[link text](path/to/note.md)
instead.[[Note Name]] - Do not use HTML inside callouts: stick to Markdown.
- Do not use
inside a callout body: headings don't render inside callouts.## - Do not write
inline in frontmatter: Obsidian prefers the list format.tags: [a, b, c] - Do not write ISO datetimes in frontmatter (
): use2026-04-08T00:00:00Z
.2026-04-08