OliverBalfour / obsidian-pandoc

Pandoc document export plugin for Obsidian (https://obsidian.md)
MIT License
680 stars 58 forks source link

No .pandoc folder to be able to change templates #184

Open avoll89 opened 1 year ago

avoll89 commented 1 year ago

Hello!

I installed on my M1 mac using homebrew, and I want to change the styles when exporting to .docx. I can't find the reference file to be able to do so, however. I don't seem to have a folder called .pandoc anywhere. And when I try to use the instructions in teh pandoc manual to copy the reference file and save it (pandoc -o custom-reference.docx --print-default-data-file reference.docx) nothing happens.

Any help or direction would be greatly appreciated cause I hate the default word styles.

LawSnap commented 5 months ago

I was able to get this to work by creating a .pandoc directory from command line mkdir -p ~/.pandoc/

Next to find the folder in the finder

You can then save a reference.docx file in that .pandoc folder

NOTE: you save the reference.docx folder in .pandoc NOT .pandoc/templates (which is where the templates for every format other than docx is stored.