# Embeds

Drop a URL on its own line, or use a `::directive{}` inside your markdown.

## Built-in

- **YouTube** — paste a youtube link, or `::youtube{#VIDEO_ID}`
- **GitHub repo card** — paste `https://github.com/owner/repo`
- **Link card** — any other URL on its own line becomes a rich link card
- **Excalidraw** — paste `https://excalidraw.com/#json=...`
- **Callouts** — GitHub-style `> [!NOTE]`, `> [!TIP]`, `> [!WARNING]`, `> [!CAUTION]`, `> [!IMPORTANT]`

## Math and code

- Math: `$inline$` and `$$block$$` (rendered via MathJax).
- Code blocks: Shiki highlighting with `// [!code highlight]` annotations.
