Hi, I searched for days and didn't found a solution.
I generate pdf from a gitlab project wiki. The markdown files are localy checked out, so no problem using
pandoc wiki/home.md -t latex -o example.pdf
But the problem starts when the md has images insight which are rendered by gitlab on access (pipline status etc.). Then I just get the error
[pandoc warning] Could not find image 'https://gitlab.xxxx/coverage.svg', skipping ....
I tried various variants giving the authentication information to pandoc, .netrc isn't read (and not usefull), gitlab requires a header "PRIVATE-TOKEN: XXXXXXXXX" for download. With curl I can set it and it works. Using wrapper script eg pipline does not work 'cause wiki pages are stored inside a git.
So - is there any solution giving pandoc authorisation tokens on commandline for retrieving remote content? I didn't found something in any documentation...
Bye