Reverse-engineering markdown image urls

Hi,

I am looking into ways to get our wiki pages printed out to Word of PDF. I tried going the Print → PDF → Word route and found that simple formatting was lost along the way.

Now I want to work with the raw markdown code that’s avail via the /raw/postId route.
But I am seeing cryptic image URLs such as upload://zAO6UTQHweHZ84ErdHdsGMJpuK1.jpeg, which discourse seems to resolve during pageload.

What I really need is a fully absolute path where the image is actually hosted on our managed instance, when looking at the raw data. Or at least some script that helps me process those internal URLs.

Can anyone point me in the right direction here?
Thank you

2 Likes
3 Likes