I'm a fan of the Quarto open-source scientific and technical publishing system that makes it easy to generate websites, ePubs, PDFs, and other documents. It also contains a powerful Jupyter-like interactive code execution system to make for embedded diagrams and much more.
Since I use Joplin for all my note-taking, I wanted a simple way to dump a notebook into a format that Quarto can use. My answer is Jopchop, an extremely basic Python module that exports a Joplin notebook in a format that can be used by Quarto.
You can see an example of my Jopchop output at PSAI. This is a website that I generate automatically every time I modify my Joplin notebook. I can also download the same notebook as an ePub or PDF, including whatever templates are appropriate for specific use cases (like those for a specific academic publication). Quarto builds everything automatically, including the web formatting for a table of contents, support for mobile, etc. etc.
I'm not sure why I did this, but I'd welcome suggestions for a better solution. It is very nice to have a simple workflow that generates pretty complicated technical manuscripts automatically dumped from Joplin