I do hope the Quarto project makes it and survives. It's a cut above the other notebook solutions like jupyter.
Instead, everything is markdown and you can interleave codeblocks (or inline code statements) anywhere you like to generate plots/tables, etc.
I haven't had a need to generate markdown programmatically, though I imagine there's probably at least a "hard way" to do that. FWIW, quarto is still in its early stages. The quarto devs on github are very nice and responsive to questions if you ever look into again.
If you're a developer and want to have your presentations amenable to being tracked in git, with all of the figures made from code and so on, Quarto is the absolute best you can do.
It's phenomenal and every developer should be using it.
But... the first thing I'll do is try quarto for my passive web page, which I presently generate using nbconvert.