I'd like to use Pandoc to periodically convert a markdown file into a Word document. The .md file and the embedded images are located in a protected Git repository in Azure DevOps.
I tried the following but it just dumps the Azure DevOps sign in website HTML into the .docx file.
pandoc -f markdown https://company.visualstudio.com/projectname/_git/project.wiki?path=%2Fdirecotry%2Finput.md
-o test.docx
Is there a way to use basic HTTP authentication with Pandoc to access the markdown file?
curlwith appropriate authentication to download the file or to pipe it topandoc. - bk2204https://username:[email protected]/projectname/file- mb21