github oleeskild/obsidian-digital-garden 2.87.0

latest releases: 2.103.0, 2.102.0, 2.101.0...
3 months ago

Excalidraw drawings are now published as static SVGs

Drawings are exported through the Excalidraw plugin's ExcalidrawAutomate API at publish time, replacing the CDN-loaded interactive viewer that broke with Excalidraw v0.17.0 and could never display embedded files.

  • Drawings containing images, inline embedded notes and frames now render on published sites, with attachments baked into the SVG
  • The hand-drawn typeface is embedded, so drawings keep their look (#593)
  • Element links are rewritten to garden URLs — links to unpublished notes are stripped, external links kept (#646)
  • Inline embedded notes render as hover-preview-style content cards (requires site template 1.85.0)
  • Embed sizing works: ![[drawing|500]], ![[drawing|500x300]], ![[drawing|100%]]
  • Drawings are detected by the excalidraw-plugin frontmatter key, not just the .excalidraw.md filename (#516)
  • New setting "Publish Excalidraw drawings as SVG" (on by default) — turn it off to keep the old interactive viewer, which is also the automatic fallback when the Excalidraw plugin isn't installed

Update your site template to 1.85.0 (Settings → Update site to latest template) and republish notes containing drawings to switch them over.

Closes #20, #516, #525, #593, #646

Don't miss a new obsidian-digital-garden release

NewReleases is sending notifications on new releases.