Guides and tutorials on SiYuan plugin development?

Hello,

First, thank you for making this app, I use it every day. I'm considering making a plugin to support a "ticket" or "issue" system like GitHub, so that goal-oriented people can use it to store their "to-do"s or issues on their writing.

Is there any guide on how to develop plugins for SiYuan? There is a plugin sample already but it doesn't quite explain how it associates with the SiYuan API or what the global functions are... I have experience in systems programming and learning a little bit of JavaScript and Go for this shouldn't be hard, but I have no idea where to start.

I have also seen that some plugins have been written with Electron. How does an Electron app embed itself in SiYuan?

Thanks a lot