azerothcore / catalogue

Catalogue of AC Modules, Tools, Scripts
https://www.azerothcore.org/catalogue/
GNU Affero General Public License v3.0
5 stars 18 forks source link

Relative links are not working #4

Open BarbzYHOOL opened 6 years ago

BarbzYHOOL commented 6 years ago

Example: http://www.azerothcore.org/modules-catalogue/details.html?id=113089469

From @Deku "because it is using a relative path, and not a full URL, we could add a little handler for relative paths"

ZeegCL commented 6 years ago

We could either warn the developers to use only full paths or use the handler. Including a handler ourselves could be a little trickier than expected.

I was thinking on pre-processing the README contents before Markdown, searching for all the image tags and checking the relative paths with some regex and then replacing them with the "https://raw.github.com/........"

BarbzYHOOL commented 6 years ago

Sounds good, you decide anyway. To embed images, all tutorials for github markdown say to use relative path, that's why it's a bit annoying