excalidraw-diagram
Generate Excalidraw diagrams from text content. Supports three output modes - Obsidian (.md), Standard (.excalidraw), and Animated (.excalidraw with animation order). Triggers on "Excalidraw", "diagram", "standard excalidraw", "animate".
Оригинален текст · няма потвърден превод на българскиПърво прочетете инструкцията.
Файлът се зарежда от посочения източник само по ваше действие. Можете да го прочетете тук, да го копирате или да го запазите като .md.
GitHub хранилище- Звезди на репото
- 4663
- Лиценз
- MIT
- Последна проверка на записа
- 21.09.2026 г.
Добавете в своя инструмент.
Командата отваря избора на skills от репозитория. Прочетете файла и условията на автора преди изпълнение.
npx skills add breferrari/obsidian-mindСтраницата копира текст. Не инсталира и не изпълнява нищо на устройството ви.
Откъс от SKILL.md
Началото на файла на автора, без превод.
Excalidraw Diagram Generator
Create Excalidraw diagrams from text content with multiple output formats.
Output Modes
Select output mode based on the user's trigger words:
| Trigger Words | Output Mode | File Format | Use Case |
|---|---|---|---|
Excalidraw, diagram, flowchart, mind map | Obsidian (default) | .md | Open directly in Obsidian |
standard excalidraw | Standard | .excalidraw | Open/edit/share on excalidraw.com |
animate, animated excalidraw | Animated | .excalidraw | Drag to excalidraw-animate to generate animation |
Workflow
- Detect output mode from trigger words (see Output Modes table above)
- Analyze content - identify concepts, relationships, hierarchy
- Choose diagram type (see Diagram Types below)
- Generate Excalidraw JSON (add animation order if Animated mode)
- Output in correct format based on mode
- Automatically save to current working directory
- Notify user with file path and usage instructions
Output Formats
Mode 1: Obsidian Format (Default)
Output strictly in the following structure, with no modifications:
---
excalidraw-plugin: parsed
tags: [excalidraw]
---
==⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠== You can decompress Drawing data with the command palette: 'Decompress current Excalidraw file'. For more info check in plugin settings under 'Saving'
# Excalidraw Data
## Text Elements
%%
## Drawing
\`\`\`json
{complete JSON data}
\`\`\`
%%
Key points:
- Frontmatter must include
tags: [excalidraw] - Warning message must be included in full
- JSON must be wrapped in
%%markers - No
excalidraw-*plugin settings in frontmatter other thanexcalidraw-plugin: parsed(thetags: [excalidraw]entry above is separate and still required) - File extension:
.md
Mode 2: Standard Excalidraw Format
Output pure JSON file, openable on excalidraw.com:
{
"type": "excalidraw",
"version": 2,
"source": "https://excalidraw.com",
"elements": [...],
"appState": {
"gridSize": null,
"viewBackgroundColor": "#ffffff"
},
"files": {}
}
Key points:
sourceuseshttps://excalidraw.com(not the Obsidian plugin)- Pure JSON, no Markdown wrapping
- File extension:
.excalidraw
Mode 3: Animated Excalidraw Format
Same as Standard format, but each element adds a customData.animate field to control animation order: