[Tex/LaTex] LaTeX and pandoc templates


I'm wondering where can I edit the default template of LaTeX in pandoc (ubuntu)

I know this is not relevant on TeX forum, but any help would be welcome, because I'm kinda lost.


Best Answer

Still off-topic but you can print the default template with pandoc -D latex, edit it and put it in your personal data directory ($HOME/.pandoc on linux):

pandoc -D latex > ~/.pandoc/default.latex && $EDITOR ~/.pandoc/default.latex

All of this is documented here: https://pandoc.org/MANUAL.html