Please add a feature to the HTTP API to render markdown using Joplin's internal renderer and settings.
I've brought up this up before on Github where it received little traction, but since then, Joplin's renderer has become far more configurable, with around 20 features available to toggle, as well as the potential for plugins to modify the process further. The result of this is that it is impossible to expect an external tool to faithfully render notes from Joplin. Joplin itself is required.
There are some complications, but these should not be insurmountable:
Joplin's internal CSS or script files could be inlined into the rendered HTML file. It would not be difficult for even an external application with special requirements to detect, e.g. "", and do whatever it needs to.
Similarly, handling of resources such as other linked notes, files, or images is obviously also a problem that the caller would need to solve in an application specific way. Nonetheless, finding <a> and <img> tags and rewriting their href/src is not difficult in any modern language.
The goal is not to make a perfect final product HTML file that can be directly displayed in a browser, but to give external applications access to a rendered product that is comparable to the display of a note in Joplin, which they can then adapt to their purposes.
If I want to publish a Joplin note on my website, or upload it to my blog, or whatever fancy ideas others may come up with, the details of how things are hosted, uploaded, etc, will change, and will necessarily be different for each application, but with all the customization currently in Joplin, providing the base rendered DOM for applications to adjust would be an extraordinary benefit. I can't perfectly mimic all of Joplin's multitude of rendering features and settings. Particularly when I'm writing in another language that cannot copy/paste, in some form, Joplin's existing rendering code.
It doesn't have to be perfect. Having it at all is a massive help, in starting from a solid foundation.