I’ve just discovered #quarto, and it’s made my night.
You can write in markdown and drop some python in the middle of it to make a figure.
It’s like #pandoc, with code in the middle. Or like #Rmarkdown, but you can use #python. Or like #jupyter, but you can generate a pdf from it.
Phenomenal. I’m going to drive future coauthors round the bend by insisting that we write everything in it.