Skip to content

Releases

1.2.0

Choose a tag to compare

@alixander alixander released this 23 Nov 17:54
aa4cb91

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

Choose a tag to compare

@gavin-ts gavin-ts released this 01 Dec 22:52
16a7adf

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 !

1.1.3

Choose a tag to compare

@berniexie berniexie released this 06 Apr 21:33
ed4fa44

Fixed PDF exports with multiple D2 diagrams as well as the debouncer used in the Codeblock processor.

1.1.2

Choose a tag to compare

@berniexie berniexie released this 01 Mar 01:33
39a20a6

Added diagram max render height in pixels settings.

1.1.1

Choose a tag to compare

@berniexie berniexie released this 24 Feb 18:48
c3ccdc4
  • Added additional PATHs for D2 executable by default
  • Updated README to include more troubleshooting

1.1.0

Choose a tag to compare

@berniexie berniexie released this 12 Jan 21:38
fa14964

D2 now supports the new options pad and sketch

1.0.1

Choose a tag to compare

@berniexie berniexie released this 04 Jan 01:50
9508bbf

Fixes env delimiters to include windows.

1.0.0

Choose a tag to compare

@berniexie berniexie released this 02 Dec 06:44
46a2de8

D2 support for Obsidian