3 ms·
It would be neat if the README or spec included links to some real-world examples of files - would be easier to start playing with building simple tools on top
by simonw 3y ago
It would be neat if the README or spec included links to some real-world examples of files - would be easier to start playing with building simple tools on top of this if there was already an example file to start experimenting with, without me having to learn Obsidian first.
UPDATE: Figured out how to create one:
1. Install and then open Obsidian
2. Click the "Create new canvas" icon - third down of the icons on the left
3. Add some stuff to the canvas - I double clicked to create a few boxes, put some text in them and then dragged lines between them
4. In the ... menu on the top right click "Reveal in Finder"
You can then open the file it reveals in a text editor to see the JSON Canvas format.
- jakelazaroff 3y agoIf you hit "toggle output" on the bottom right, it shows a JSON Canvas representation of the page's content.
- simonw 3y agoIs that an icon? I can't seem to find it (Obsidian 1.4.16 on macOS)
- jakelazaroff 3y agoSorry — I mean on the bottom right of https://jsoncanvas.org https://jsoncanvas.org!
- dolmen 3y agoThere is one example in the repo: https://github.com/obsidianmd/jsoncanvas/blob/main/sample.canvas https://github.com/obsidianmd/jsoncanvas/blob/main/sample.ca...