https://github.com/holxsam/holxsam/assets/41220650/1786cc75-3a15-431f-b13a-e8f51cfde952
This Obsidian plugin allows users to use Tldraw, which is a tiny little drawing app, inside of Obsidian. Users can draw, plan, and use all of Tldraw's tools to augment their Obsidian experience. The data for each drawing is stored as a regular markdown file similar to the Excalidraw plugin meaning users will always have access to their data in plain markdown. Users have the option to switch between the Tldraw view or the markdown view in case they wish to include backlinks, tags, or any other elements to facilitate linking their drawings with their existing knowledge base.
TIP: You can toggle between the view modes, using the command palette, keyboard shortcuts, status bar toggle at the bottom right, file menu, and context menu. See the plugin settings tab for customization options as well.
The main goals of this plugin and repo is to keep up to date with the Tldraw's latest version and to add these features:
Tldraw in Obsidian is now available on the official community plugins list!
obsidian://show-plugin?id=tldraw
(paste in your browser's address bar).Settings
> Community plugins
> Browse
> Type 'tldraw'
> Install
.Obsidian42 - BRAT
from the community plugins.Obsidian42 - Brat
and select Add Beta Plugin
https://github.com/holxsam/tldraw-in-obsidian
Community plugins
and make sure to enable Tldraw
VaultFolder/.obsidian/plugins/
tldraw-in-obsidian
main.js
, styles.css
, manifest.json
into the newly created /tldraw-in-obsidian
folder..obsidian/plugins
folder.npm i
in the command line under your repo folder.npm run dev
to compile your plugin from main.ts
to main.js
./src
. Those changes should be automatically compiled into main.js
and styles.css
.styles.css
file at the root of the repo. Edit the one in /src/styles.css
and the changes will be reflected automatically.All Tldraw's code is theirs and I did not change any of it. Also shout out to the Excalidraw plugin for inspiration on how I should structure this Tldraw plugin.