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. On Friday, October 14, 2022 at 8:45:38 AM UTC-4 Joan wrote: > 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 --verbose* > And 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 > > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/48fffed6-ebd1-4b67-bde7-9712b4b11b8en%40googlegroups.com.