Obsidian markdown

From eddiebelaval/squire · View interactive version

Obsidian markdown is an AI agent skill from the GitHub repository eddiebelaval/squire. 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.

How to use this skill

Skill file




## Properties (Frontmatter)

Properties use YAML frontmatter at the start of a note:

title: My Note Title

date: 2024-01-15

tags:

aliases:

cssclasses:

status: in-progress

rating: 4.5

completed: false

due: 2024-02-01T14:30:00



### Property Types

| Type | Example |
|------|---------|
| Text | `title: My Title` |
| Number | `rating: 4.5` |
| Checkbox | `completed: true` |
| Date | `date: 2024-01-15` |
| Date & Time | `due: 2024-01-15T14:30:00` |
| List | `tags: [one, two]` or YAML list |
| Links | `related: "[[Other Note]]"` |

### Default Properties

- `tags` - Note tags
- `aliases` - Alternative names for the note
- `cssclasses` - CSS classes applied to the note

## Tags

#tag

#nested/tag

#tag-with-dashes

#tag_with_underscores

In frontmatter:


tags:



Tags can contain:
- Letters (any language)
- Numbers (not as first character)
- Underscores `_`
- Hyphens `-`
- Forward slashes `/` (for nesting)

## HTML Content

Obsidian supports HTML within Markdown:

<div class="custom-container">

<span style="color: red;">Colored text</span>

</div>

<details>

<summary>Click to expand</summary>

Hidden content here.

</details>

<kbd>Ctrl</kbd> + <kbd>C</kbd>


## Complete Example

title: Project Alpha

date: 2024-01-15

tags:

status: in-progress

priority: high


Project Alpha

Core Workflows

Workflow 1: Primary Action

  1. Analyze the input and context
  2. Validate prerequisites are met
  3. Execute the core operation
  4. Verify the output meets expectations
  5. Report results

Overview

This project aims to [[improve workflow]] using modern techniques.

[!important] Key Deadline

The first milestone is due on ==January 30th==.

Tasks

Technical Notes

The main algorithm uses the formula $O(n \log n)$ for sorting.

def process_data(items):
    return sorted(items, key=lambda x: x.priority)

Architecture

graph LR
    A[Input] --> B[Process]
    B --> C[Output]
    B --> D[Cache]

Related Documents

References

For more details, see the official documentation[^1].

[^1]: https://example.com/docs

%%

Internal notes:

%%

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.