Custom rendering plugins?

Hi, guys.

I’m very new to this PKB / Digital Gardening thing, but I gotta say I’m loving every minute of it. And logseq in particular is scratching a few itches I’ve had for so long, so thanks for that.

On to my question: does anyone know if it’s feasible to write a plugin that will render a block with a different renderer?

I’d like to render stuff like music notation (ABC, Lilypad, something like that), and other kinds of languages that render differently. I understand we’re dealing with markdown / org mode here, but we have stuff like LaTeX, Excalidraw, youtube embeds and the like, it feels like it would be possible.

I appreciate any thoughts on this.