Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and note-specific syntax.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
SKILL.md
1---2name: obsidian-markdown3description: Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax. Use when working with .md files in Obsidian, or when the user mentions wikilinks, callouts, frontmatter, tags, embeds, or Obsidian notes.4---56# Obsidian Flavored Markdown Skill78Create and edit valid Obsidian Flavored Markdown. Obsidian extends CommonMark and GFM with wikilinks, embeds, callouts, properties, comments, and other syntax. This skill covers only Obsidian-specific extensions -- standard Markdown (headings, bold, italic, lists, quotes, code blocks, tables) is assumed knowledge.910## Workflow: Creating an Obsidian Note11121. **Add frontmatter** with properties (title, tags, aliases) at the top of the file. See [PROPERTIES.md](references/PROPERTIES.md) for all property types.132. **Write content** using standard Markdown for structure, plus Obsidian-specific syntax below.143. **Link related notes** using wikilinks (`[[Note]]`) for internal vault connections, or standard Markdown links for external URLs.154. **Embed content** from other notes, images, or PDFs using the `![[embed]]` syntax. See [EMBEDS.md](references/EMBEDS.md) for all embed types.165. **Add callouts** for highlighted information using `> [!type]` syntax. See [CALLOUTS.md](references/CALLOUTS.md) for all callout types.176. **Verify** the note renders correctly in Obsidian's reading view.1819> When choosing between wikilinks and Markdown links: use `[[wikilinks]]` for notes within the vault (Obsidian tracks renames automatically) and `[text](url)` for external URLs only.2021## Internal Links (Wikilinks)2223```markdown24[[Note Name]] Link to note25[[Note Name|Display Text]] Custom display text26[[Note Name#Heading]] Link to heading27[[Note Name#^block-id]] Link to block28[[#Heading in same note]] Same-note heading link29```3031Define a block ID by appending `^block-id` to any paragraph:3233```markdown34This paragraph can be linked to. ^my-block-id35```3637For lists and quotes, place the block ID on a separate line after the block:3839```markdown40> A quote block4142^quote-id43```4445## Embeds4647Prefix any wikilink with `!` to embed its content inline:4849```markdown50![[Note Name]] Embed full note51![[Note Name#Heading]] Embed section52![[image.png]] Embed image53![[image.png|300]] Embed image with width54![[document.pdf#page=3]] Embed PDF page55```5657See [EMBEDS.md](references/EMBEDS.md) for audio, video, search embeds, and external images.5859## Callouts6061```markdown62> [!note]63> Basic callout.6465> [!warning] Custom Title66> Callout with a custom title.6768> [!faq]- Collapsed by default69> Foldable callout (- collapsed, + expanded).70```7172Common types: `note`, `tip`, `warning`, `info`, `example`, `quote`, `bug`, `danger`, `success`, `failure`, `question`, `abstract`, `todo`.7374See [CALLOUTS.md](references/CALLOUTS.md) for the full list with aliases, nesting, and custom CSS callouts.7576## Properties (Frontmatter)7778```yaml79---80title: My Note81date: 2024-01-1582tags:83- project84- active85aliases:86- Alternative Name87cssclasses:88- custom-class89---90```9192Default properties: `tags` (searchable labels), `aliases` (alternative note names for link suggestions), `cssclasses` (CSS classes for styling).9394See [PROPERTIES.md](references/PROPERTIES.md) for all property types, tag syntax rules, and advanced usage.9596## Tags9798```markdown99#tag Inline tag100#nested/tag Nested tag with hierarchy101```102103Tags can contain letters, numbers (not first character), underscores, hyphens, and forward slashes. Tags can also be defined in frontmatter under the `tags` property.104105## Comments106107```markdown108This is visible %%but this is hidden%% text.109110%%111This entire block is hidden in reading view.112%%113```114115## Obsidian-Specific Formatting116117```markdown118==Highlighted text== Highlight syntax119```120121## Math (LaTeX)122123```markdown124Inline: $e^{i\pi} + 1 = 0$125126Block:127$$128\frac{a}{b} = c129$$130```131132## Diagrams (Mermaid)133134````markdown135```mermaid136graph TD137A[Start] --> B{Decision}138B -->|Yes| C[Do this]139B -->|No| D[Do that]140```141````142143To link Mermaid nodes to Obsidian notes, add `class NodeName internal-link;`.144145## Footnotes146147```markdown148Text with a footnote[^1].149150[^1]: Footnote content.151152Inline footnote.^[This is inline.]153```154155## Complete Example156157````markdown158---159title: Project Alpha160date: 2024-01-15161tags:162- project163- active164status: in-progress165---166167# Project Alpha168169This project aims to [[improve workflow]] using modern techniques.170171> [!important] Key Deadline172> The first milestone is due on ==January 30th==.173174## Tasks175176- [x] Initial planning177- [ ] Development phase178- [ ] Backend implementation179- [ ] Frontend design180181## Notes182183The algorithm uses $O(n \log n)$ sorting. See [[Algorithm Notes#Sorting]] for details.184185![[Architecture Diagram.png|600]]186187Reviewed in [[Meeting Notes 2024-01-10#Decisions]].188````189190## References191192- [Obsidian Flavored Markdown](https://help.obsidian.md/obsidian-flavored-markdown)193- [Internal links](https://help.obsidian.md/links)194- [Embed files](https://help.obsidian.md/embeds)195- [Callouts](https://help.obsidian.md/callouts)196- [Properties](https://help.obsidian.md/properties)197