DEV Community

Discussion on: DEV.TO writers, what MD tools do you use?

Collapse
rimutaka profile image
Max Author • Edited on

Nathan, how do you point images to the repo? I presume they are relative paths in the original markdown. Do you have a script or do it by hand? And does GitHub mind?

Collapse
nathanminchow profile image
Nathan Minchow

Hey Max – when I'm writing markdown locally for my Jekyll-powered blog, I use relative links.

Since I use Github Pages for hosting, once I push my post to the repository, I can just grab the image links from the resulting webpage that's live on my blog. I do it by hand currently, but I still find it faster than using the Dev.to image upload utility.

Honestly, there is probably a better way. But it's worked well enough for me so far!