Hacker News new | ask | show | jobs
by simonw 832 days 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.

2 comments

If you hit "toggle output" on the bottom right, it shows a JSON Canvas representation of the page's content.
Is that an icon? I can't seem to find it (Obsidian 1.4.16 on macOS)
Sorry — I mean on the bottom right of https://jsoncanvas.org!