Repository navigation
Releases
Releases · d2lang/d2-obsidian
1.2.0
D2 diagrams now render offline on iPhone, iPad, Android, and desktop with no separate compiler installation. Install or update D2 in Obsidian’s Settings → Community plugins, then open a note with a fenced D2 block.
- Dagre, ELK, and TALA are included. The bundled TALA engine works offline without an API token.
- On desktop, the plugin still uses your installed D2 CLI when available, including its local file support. The bundled compiler reads the contents of each code block.
- Notes with several D2 blocks render each block independently. Editing or recompiling one diagram keeps the others visible.
- If you use Obsidian Sync Standard, install or update the plugin on each device. The bundled compiler exceeds that plan’s 5 MB per-file limit.
Thanks to @hpr1999 and @RacyMind for their work on WASM preview and multi-block rendering.
- sent from alixander's Codex
1.1.4
Updates links to make them Obsidian compatible and fixes renders always being scaled to max height even when they are small.
Thanks to @Portevent and @cs-qyzhang !