logseq-music-notation
logseq-music-notation copied to clipboard
Explanation of slot ui
I'm trying to figure out how to render an svg in logseq in a plugin I'm working on. I have the svg logseq.App.onMacroRendererSlotted(async (event) => { and logseq.provideUI({... bits, but I don't really understand how it works. Did you learn from some other documentation I haven't seen, or just figure this out? Do you have time to explain it? Thanks!
Sorry for the late reply @fivestones! I also found it very undocumented, so I searched around github code to find other people using it, and asked around on the Logseq Discord group. Sadly I probably don't have much more context for you, but if you add your voice to the voices asking them to document it better, maybe it'll get on their todo list. Best of luck! 😄