shd101wyy / vscode-markdown-preview-enhanced

One of the "BEST" markdown preview extensions for Visual Studio Code
https://shd101wyy.github.io/markdown-preview-enhanced
Other
1.48k stars 173 forks source link

Pandoc Output Format Error #74

Open ketozhang opened 6 years ago

ketozhang commented 6 years ago

Right Click on Preview > Pandoc

Returns the error "Output format needs to be specified",

image

I've checked the documentation and "user settings". No where, I am allowed to specify output format. Would it be in additional arguments? Adding "markdown-preview-enhanced.pandocArguments": "--output=test.pdf" still doesn't work.

jovercao commented 5 years ago

Me too!

silva6 commented 5 years ago

+1 the same problem

shd101wyy commented 5 years ago

https://shd101wyy.github.io/markdown-preview-enhanced/#/pandoc-pdf

You might need to specify it in front matter.

yanganxing commented 4 months ago

you can add a output type in the begin of markdown file.

image

then try again