Update: this work has been turned into a Quarto extension: Sverto!
Proof-of-concept: render Svelte components in Quarto documents (and probably Observable notebooks?), reactively updating them (transitions and all!) using Observable JS.
Rendered demo (in /docs
) is viewable at https://svelte-in-quarto.pages.dev.