Do you have to preface the image URL in the document itself with ./ ? I just yesterday uncluttered a directory, and now have md, html, and pdf files in their own separate subdirectories. But now I have to use a dot/slash in the markdown because I'm running the script (pandoc/weasyprint) from a directory above where all the files and images are.
I have been searching for this in this forum, tickets, etc,,.. and haven't been able to find a answer to what seems to be simple.The case is that I'm converting from a local dokuwiki export to gfm and I wanted to migrate the images too.The script I'm using is:pandoc -s -f dokuwiki -t gfm --resource-path=/home/user/src/wiki_gitbacked --extract-media ./media/ pages/test_webservices.txt -o ../dsi.wiki/test_webservices.md --verboseAnd I get an error that pandoc couldn't fetch the resource at the url http://test_webservices/rest.png (test_webservices is the dokuwiki page name)The file is at media/test_webservices/rest.png so if it was using local paths it would get the proper image.Is there anything I'm missing on this?The full message is attached.Thanks,Joan