Or a defaults file — will work out of the box on Windows too.

https://pandoc.org/MANUAL.html#default-files

Den tis 1 juni 2021 09:53Bastien DUMONT <bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org> skrev:
A Makefile could be the solution. Have a look here: https://blog.scottlowe.org/2017/05/08/using-makefile-with-markdown-documents/

Le Monday 31 May 2021 à 09:28:48PM, Louis Turk a écrit :
> I have over 60 books with most of the pandoc command-line arguments the same.
> Is it possible to put those command-line arguments in a file to be called from
> the command line? If yes, does someone have a sample file they will share? I've
> tried putting them in a file called with the -d argument, but get "Expected a
> mapping".
>
> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to pandoc-discuss+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/
> pandoc-discuss/e39bc5df-321d-4953-bcf5-975ee04b8a17n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/YLXnLTrw65zEMbZ1%40localhost.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhDq2soVUFhb199ihMFBp9a-fDPNjUBVj5F-fq4pvCDzgQ%40mail.gmail.com.