What I’m trying to do
I would like to create a Genealogy-Canvas with custom elements. First outside of Obsidian, later maybe as a plugin. But I stuck with the lack of documentation of “how to start”. Github offers some example code which does not run on my machine out of the box.
Things I have tried
reference: GitHub - obsidianmd/jsoncanvas: An open file format for infinite canvas data.
I found some issues with the linked files, which I was able to fix. Also I somehow identified that thre is a python templater calles Jinja2 is in use. All this is not documented.
Please give me a kickstart.
last error I cant get rid of
canvas.js:182 Uncaught ReferenceError: Prism is not defined
at updateCanvasData (canvas.js:182:3)
at canvas.js:458:1
But prism.js is loaded/referenced.
Background of myself: I was a frontend-dev back in 2001-2009, but later choose for a different carreer path. So there are some skills left - especially javascript vanilla and modern html/css. But I’m not (yet) familiar with all of the new fancy dev-frameworks (yet).
An advice of how to get this example project running is very aprechiated.