Page 1 of 1

Compile Options - Post-Process on command line and Pandoc syntax.

Posted: Thu Jan 16, 2020 2:32 pm
by Amari
Hello,
I am not sure if I miss it or it is not implemented yet. I am looking for the compile options to export Markdown with Pandoc syntax. On Mac there is this checkbox together with the option to run post process scripts. Is there an option on the Windows Beta? By cmd.exe, Powershell or WSL?

Thanks.

Re: Compile Options - Post-Process on command line and Pandoc syntax.

Posted: Thu Jan 16, 2020 2:57 pm
by AmberV
Although the beta version will detect if you have installed Pandoc and open additional compile options, at this time none of the actual code for using it is in place, and you very likely won't get a desirable result. Your best bet will be to compile to plain "MultiMarkdown" and process the file yourself using Pandoc directly.

Re: Compile Options - Post-Process on command line and Pandoc syntax.

Posted: Thu Jan 16, 2020 3:02 pm
by Amari
Thank you Amber.
Is the normal markdown output pandoc compatible? I don't know the exact differences.

Re: Compile Options - Post-Process on command line and Pandoc syntax.

Posted: Thu Jan 16, 2020 5:46 pm
by AmberV
Yes, particularly if you tell Pandoc that your file is MultiMarkdown (which is what our output is, it isn't stock vanilla Markdown). For example:

Code: Select all

pandoc -f markdown_mmd -t docx -o file.docx compiled_file.md

Re: Compile Options - Post-Process on command line and Pandoc syntax.

Posted: Fri Jan 17, 2020 7:43 am
by Amari
Thank you. I'll give it a try :)