Skip to content

I'm beating my brains out trying to get Pandoc to work on Windows #363

Closed Answered by seatrout
seatrout asked this question in Q&A
Discussion options

You must be logged in to vote

OK. In the hope this will be useful to others, here is the answer I have found that works. You need to de-escape the file and folder names, and pass them as literal strings, like this:

start pandoc.exe '"{{!file_path:absolute}}" -o "{{!folder_path:absolute}}\{{!title}}.docx"'

so: Single Quotes round the whole string of parameters but within those single quotes, double quotes round the unescaped parameter values (not the keys). The command itself remains unquoted.

Replies: 4 comments 11 replies

Comment options

You must be logged in to vote
1 reply
@seatrout
Comment options

Comment options

You must be logged in to vote
8 replies
@Taitava
Comment options

@Taitava
Comment options

@seatrout
Comment options

@seatrout
Comment options

@Taitava
Comment options

Answer selected by seatrout
Comment options

You must be logged in to vote
1 reply
@Taitava
Comment options

Comment options

You must be logged in to vote
1 reply
@Taitava
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants