Hello!
I’ve started making my first plugin, it’s a variant of Codepen which renders a note as HTML based on the different blocks.
It’s really hard to figure out what the correct way for doing stuff is, so I wanted to ask: am I doing this the correct way? Mainly loading another view + listening to changes. And should I even use ItemView
for this?
Code is available here: obsidian-codepencil/main.ts at 8a08cdf9ab68036f4aeb5394d301ebc2d948dd11 · benjick/obsidian-codepencil · GitHub
Another question, how can I update the display text dynamically?
Cheers
Max