by Anmol Dash
Automatically export tldraw drawings as SVG and PNG.
Automated Drawing Exporter
Automated Drawing Exporter is an independent desktop companion for the tldraw community plugin. It uses the renderer in the installed plugin to save transparent SVG and PNG images beside your editable drawings.
Install and use
- Install and enable tldraw in your vault.
- Download
main.jsandmanifest.jsonfrom the latest release and put them in.obsidian/plugins/drawing-image-export/. - Enable Automated Drawing Exporter under Settings → Community plugins.
- Turn on Auto-export SVG, Auto-export PNG, or both in the companion's settings.
- Edit a drawing in its own tab and keep the editor focused until it saves. For a source named
Drawing.md, embed the output with![[Drawing.md.svg]]or![[Drawing.md.png]].
Each export uses the visible page. Clearing that page writes a transparent image. The companion protects existing files using checksums recorded on the device that generated them. A manually edited, preexisting, or synced image may be skipped. When a source is renamed, further saves use its new name and prior images stay at their previous paths.
Compatibility
Tested with Obsidian Desktop 1.15.1 and tldraw 1.35.1 on macOS. The companion uses the tldraw plugin's internal live editor interface. It requires a focused drawing in its own tab and may need an update when tldraw changes that interface.
The companion reads and writes files in the vault and stores export checksums in Obsidian's local storage. It makes no network requests of its own. Install and enable tldraw separately.
Build
Run npm ci and npm run build to generate main.js.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.