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

Am
Amari
Posts: 14
Joined: Thu Jan 16, 2020 12:05 pm
Platform: Windows

Thu Jan 16, 2020 2:32 pm Post

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.

User avatar
AmberV
Posts: 24311
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Ourense, Galiza
Contact:

Thu Jan 16, 2020 2:57 pm Post

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.
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

Am
Amari
Posts: 14
Joined: Thu Jan 16, 2020 12:05 pm
Platform: Windows

Thu Jan 16, 2020 3:02 pm Post

Thank you Amber.
Is the normal markdown output pandoc compatible? I don't know the exact differences.

User avatar
AmberV
Posts: 24311
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Ourense, Galiza
Contact:

Thu Jan 16, 2020 5:46 pm Post

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
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

Am
Amari
Posts: 14
Joined: Thu Jan 16, 2020 12:05 pm
Platform: Windows

Fri Jan 17, 2020 7:43 am Post

Thank you. I'll give it a try :)