Thanks @gerhard for this starter. You propose creating a plugin to provide the wanted views. This works fine if I’m in control of the Discourse instance. But this won’t fly for random scraping from various sources.
Of course, having Discourse render externally usable Markdown files would be useful, but it is not the case yet unless the API is already allowing it.
How would one go to convert these upload links? Is it a simple conversion from upload://X to https://Discourse.example/path/to/X
or is there more magic involved? Is this “path/to” discoverable or do I have to know it beforehand, etc. are questions I’m asking myself…