dfinke / vscode-pandoc

Visual Studio Code extension lets you render markdown to pdf, word doc or html with pandoc
125 stars 36 forks source link

Output files are empty or broken. #39

Open scify666 opened 4 years ago

scify666 commented 4 years ago

When i export as docx the file is empty. If i choose PDF the file is broken.

mikeh7 commented 4 years ago

I was also suffering this issue.

What I realised when trying to run Pandoc from the command line was that I hadn't saved my markdown in vscode . Not saying this is definitely your problem, but check the file size of your markdown and that you can execute Pandoc from command line.

pandoc test1.md -s -o test1.pdf