Loading...
Loading...
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.
npx skill4agent add lingengyuan/my-skills obsidian-markdown**Bold** or __Bold__
*Italic* or _Italic_
***Bold + Italic***
~~Strikethrough~~
==Highlight==
`Inline code`# Heading 1
## Heading 2
### Heading 3[[Note Name]]
[[Note Name|Display Text]]
[[Note Name#Heading]]
[[Note Name#^block-id]][Display Text](note.md)
[Display Text](https://example.com)![[Note Name]] # Embed note
![[image.png]] # Embed image
![[image.png|300]] # Resize
![[document.pdf#page=3]] # PDF page> [!note]
> Note content
> [!warning] Custom Title
> Warning contentnoteinfotipsuccessquestionwarningfailuredangerbugexamplequoteimportanthintcautionmissingsummaryhelp- Unordered list item
- Another item
1. Ordered list
2. Another item
- [ ] Task
- [x] Completed task```python
def hello():
print("Hello")
```| Header 1 | Header 2 |
|----------|----------|
| Cell 1 | Cell 2 |
| Cell 3 | Cell 4 |Inline math: $E = mc^2$
Block math:
$$
\sum_{i=0}^n i^2 = \frac{n(n+1)(2n+1)}{6}
$$```mermaid
graph LR
A[Start] --> B[End]
```---
key: value
another_key: another value
list:
- item1
- item2
---
Content here...---
# Text
title: "My Note"
author: John Doe
# Lists
tags: [tag1, tag2, tag3]
categories:
- category1
- category2
# Numbers
priority: 1
count: 100
# Dates
created: 2024-01-12
modified: 2024-01-12
due_date: 2024-12-31
# Booleans
done: false
important: true
---```dataview
TABLE file.name, priority, due_date
FROM #task
WHERE !done
SORT priority ASC
## Tags
### Tag Syntax
```markdown
#tag # Top of file for global tag
#nested/tag # Nested tag
#multi/word/tag # Multiple levels
Inline in sentence: #this-is-a-tag[[#tag]] # Search for tag
tag:#project # In properties---
title: "Project Overview"
tags: [project, active]
created: 2024-01-12
status: in-progress
priority: 1
---
# Project Overview
This document describes the [[Main Project]] architecture.
## Goals
- [ ] Design database schema
- [x] Create API endpoints
- [ ] Implement frontend
> [!important]
> Remember to update the [[Dependencies]] before deployment.
## Architecture
```mermaid
graph TD
A[Client] --> B[API]
B --> C[Database]
B --> D[Cache]
## Validation Rules
### Required Structure
- Valid Markdown syntax
- Proper YAML frontmatter (if properties used)
- Correct wikilink syntax: `[[Note Name]]`
### Common Mistakes
- ❌ Using wrong link syntax in wikilinks: `[[note.md]]` (use `[[note]]`)
- ❌ Missing closing code fence: ```` ``` ````
- ❌ Invalid YAML indentation (must use spaces, not tabs)
- ❌ Unclosed callout blocks
### Best Practices
1. Use wikilinks for internal notes: `[[Note]]`
2. Use markdown links for external URLs: `[text](url)`
3. Add frontmatter properties for metadata
4. Use tags for organization
5. Use callouts for important notes
## Important Notes
1. **Wikilinks**: Don't include `.md` extension in wikilinks
2. **Images**: Use `![[image.png]]` for embedded, `![]()` for external
3. **Math**: Use `$` for inline, `$$` for block
4. **Code blocks**: Always specify language for syntax highlighting
5. **Properties**: YAML must be at the very top of the file
## Detailed Documentation
For complete syntax reference and examples, see **REFERENCE.md**:
- All Markdown formatting options
- Advanced link techniques
- All callout types and styling
- Code block syntax highlighting
- Mermaid diagram types
- Dataview query syntax
- HTML content and embeds
- Footnotes and comments