obsidian-markdown
Scannednpx machina-cli add skill davepoon/buildwithclaude/obsidian-markdown --openclawObsidian Flavored Markdown
This skill enables Claude Code to create and edit valid Obsidian Flavored Markdown including wikilinks, embeds, callouts, properties, and all related syntax.
When to Use This Skill
- Working with .md files in an Obsidian vault
- Creating notes with wikilinks or internal links
- Adding embeds for notes, images, audio, or PDFs
- Using callouts (info boxes, warnings, tips, etc.)
- Managing frontmatter/properties in YAML format
- Working with tags and nested tags
- Creating block references and block IDs
Basic Formatting
Paragraphs and Line Breaks
Paragraphs are separated by blank lines. Single line breaks within a paragraph are ignored unless you use:
- Two spaces at the end of a line
- Or use
<br>for explicit breaks
Headings
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
Text Styling
**Bold text**
*Italic text*
***Bold and italic***
~~Strikethrough~~
==Highlighted text==
Internal Links (Wikilinks)
Basic Wikilinks
[[Note Name]]
[[Note Name|Display Text]]
[[Folder/Note Name]]
Heading Links
[[Note Name#Heading]]
[[Note Name#Heading|Display Text]]
[[#Heading in Current Note]]
Block References
[[Note Name#^block-id]]
[[Note Name#^block-id|Display Text]]
[[#^block-id]]
Creating Block IDs
Add a block ID at the end of any paragraph or list item:
This is a paragraph you can reference. ^my-block-id
- List item with ID ^list-block
Embeds
Embedding Notes
![[Note Name]]
![[Note Name#Heading]]
![[Note Name#^block-id]]
Embedding Images
![[image.png]]
![[image.png|400]]
![[image.png|400x300]]
Embedding Audio
![[audio.mp3]]
Embedding PDFs
![[document.pdf]]
![[document.pdf#page=5]]
![[document.pdf#height=400]]
Embedding Videos
![[video.mp4]]
Callouts
Basic Callout Syntax
> [!note]
> This is a note callout.
> [!warning]
> This is a warning callout.
> [!tip] Custom Title
> This callout has a custom title.
Callout Types
| Type | Aliases | Description |
|---|---|---|
note | Default blue info box | |
abstract | summary, tldr | Abstract/summary |
info | Information | |
todo | Task/todo item | |
tip | hint, important | Helpful tip |
success | check, done | Success message |
question | help, faq | Question/FAQ |
warning | caution, attention | Warning message |
failure | fail, missing | Failure message |
danger | error | Error/danger |
bug | Bug report | |
example | Example content | |
quote | cite | Quotation |
Foldable Callouts
> [!note]+ Expanded by default
> Content visible initially.
> [!note]- Collapsed by default
> Content hidden initially.
Nested Callouts
> [!question] Can callouts be nested?
> > [!answer] Yes!
> > Callouts can be nested inside each other.
Lists
Unordered Lists
- Item 1
- Item 2
- Nested item
- Another nested item
- Item 3
Ordered Lists
1. First item
2. Second item
1. Nested numbered item
3. Third item
Task Lists
- [ ] Uncompleted task
- [x] Completed task
- [ ] Another task
Code Blocks
Inline Code
Use `inline code` for short snippets.
Fenced Code Blocks
```javascript
function hello() {
console.log("Hello, world!");
}
```
Supported Languages
Obsidian supports syntax highlighting for many languages including:
javascript, typescript, python, rust, go, java, c, cpp, csharp, ruby, php, html, css, json, yaml, markdown, bash, sql, and many more.
Tables
| Header 1 | Header 2 | Header 3 |
|----------|:--------:|---------:|
| Left | Center | Right |
| aligned | aligned | aligned |
Math (LaTeX)
Inline Math
The equation $E = mc^2$ is famous.
Block Math
$$
\frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
$$
Diagrams (Mermaid)
```mermaid
graph TD
A[Start] --> B{Decision}
B -->|Yes| C[Do Something]
B -->|No| D[Do Something Else]
C --> E[End]
D --> E
```
Footnotes
This is a sentence with a footnote.[^1]
[^1]: This is the footnote content.
Comments
%%
This is a comment that won't be rendered.
%%
Inline %%comment%% within text.
Properties (Frontmatter)
Basic Properties
---
title: My Note Title
date: 2024-01-15
tags:
- tag1
- tag2
author: John Doe
---
Property Types
| Type | Example |
|---|---|
| Text | title: My Title |
| Number | rating: 5 |
| Checkbox | completed: true |
| Date | date: 2024-01-15 |
| Date & time | created: 2024-01-15T10:30:00 |
| List | tags: [a, b, c] or multiline |
| Link | related: "[[Other Note]]" |
Multi-value Properties
---
tags:
- project
- work
- important
aliases:
- My Alias
- Another Name
cssclasses:
- wide-page
- cards
---
Tags
Inline Tags
This note is about #productivity and #tools.
Nested Tags
#project/work
#status/in-progress
#priority/high
Tags in Frontmatter
---
tags:
- project
- project/work
- status/active
---
HTML Support
Obsidian supports a subset of HTML:
<div class="my-class">
Custom HTML content
</div>
<details>
<summary>Click to expand</summary>
Hidden content here
</details>
<kbd>Ctrl</kbd> + <kbd>C</kbd>
Complete Example
---
title: Project Alpha Overview
date: 2024-01-15
tags:
- project
- documentation
status: active
---
# Project Alpha Overview
## Summary
This document outlines the key aspects of **Project Alpha**. For related materials, see [[Project Alpha/Resources]] and [[Team Members]].
> [!info] Quick Facts
> - Start Date: January 2024
> - Team Size: 5 members
> - Status: Active
## Key Features
1. [[Feature A]] - Core functionality
2. [[Feature B]] - User interface
3. [[Feature C]] - API integration
### Feature A Details
The main equation governing our approach is $f(x) = ax^2 + bx + c$.
![[feature-a-diagram.png|500]]
> [!tip] Implementation Note
> See [[Technical Specs#^impl-note]] for implementation details.
## Tasks
- [x] Initial planning ^planning-task
- [ ] Development phase
- [ ] Testing phase
- [ ] Deployment
## Code Example
```python
def process_data(input):
return transform(input)
Architecture
graph LR
A[Input] --> B[Process]
B --> C[Output]
Notes
This approach was inspired by ==recent research==1.
%% TODO: Add more examples Review with team next week %%
#project/alpha #documentation
## References
- [Obsidian Formatting Syntax](https://help.obsidian.md/Editing+and+formatting/Basic+formatting+syntax)
- [Advanced Formatting](https://help.obsidian.md/Editing+and+formatting/Advanced+formatting+syntax)
- [Internal Links](https://help.obsidian.md/Linking+notes+and+files/Internal+links)
- [Embedding Files](https://help.obsidian.md/Linking+notes+and+files/Embed+files)
- [Callouts](https://help.obsidian.md/Editing+and+formatting/Callouts)
- [Properties](https://help.obsidian.md/Editing+and+formatting/Properties)
Footnotes
-
Smith, J. (2024). Modern Approaches to Data Processing. ↩
Source
git clone https://github.com/davepoon/buildwithclaude/blob/main/plugins/obsidian-skills/skills/obsidian-markdown/SKILL.mdView on GitHub Overview
Obsidian-markdown enables you to create and edit Obsidian Flavored Markdown, including wikilinks, embeds, callouts, and YAML frontmatter. It covers internal linking, block references, and tags, helping notes stay connected and well-structured within an Obsidian vault.
How This Skill Works
The skill parses and generates Obsidian-specific markdown syntax such as [[Note]] wikilinks, ![[Note]] embeds, and callout blocks. It also handles block IDs ( ^id ), heading anchors, and YAML frontmatter to produce valid Obsidian notes that render correctly in the vault.
When to Use It
- Working with .md files in an Obsidian vault
- Creating notes with wikilinks or internal links
- Embedding notes, images, audio, or PDFs
- Using callouts and YAML frontmatter for metadata
- Referencing blocks, block IDs, and nested tags
Quick Start
- Step 1: Open or create a Markdown file in an Obsidian vault
- Step 2: Add wikilinks like [[Note]] and embeds like ![[Image.png]] as needed
- Step 3: Add YAML frontmatter at the top and optionally use block IDs for references, e.g. '^my-id' and [[Note#^my-id]]
Best Practices
- Keep wikilinks consistent with actual note names to avoid broken links
- Use block IDs at the end of paragraphs or list items to make references stable
- Prefer embeds for related content to keep notes context-rich
- Maintain YAML frontmatter with essential metadata like title and tags
- Organize notes with logical tags and consider nested tag structures
Example Use Cases
- Link related notes using [[Note Name]]
- Embed a note with ![[Note Name]] to show its content inline
- Add a tip callout with > [!tip] to highlight help
- Create a block ID with ^my-id and reference it from another note with [[Note#^my-id]]
- Tag notes with #project and nested tags like #project/phase1
Frequently Asked Questions
Related Skills
theme-factory
davepoon/buildwithclaude
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
docx
davepoon/buildwithclaude
Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks
davepoon/buildwithclaude
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
xlsx
davepoon/buildwithclaude
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
obsidian-bases
davepoon/buildwithclaude
Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.
youtube-downloader
davepoon/buildwithclaude
Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.