Thank you! ![]()
Ok, I formated some text in InDesign, with styles named the same as in Scrivener, then exported an ICML file and replaced its guts with Pandoc template variables, and copied it to $HOME/.local/share/pandoc/templates/.
Added a path to it in pandocomatic.yaml
In Scrivener Compile, I added -s to the cryptic command in the screenshot that was posted above:
-t icml <$inputfile> -s -o <$outputname>.icml
and hit compile.
To my surprise, I got a working ICML file! ![]()
However, with depressing predictability, it didn’t make use of my template. The header came from somewhere else…
Any idea where the default ICML template can be found, and how to tell Pandoc to use my own template instead?