My pandoc command md to word

pandoc --reference-doc my-reference.docx -s input.md --citeproc --csl sage-harvard.csl -o output.docx

--citeproc for process citations

--csl sage-harvard.csl  use specific bibliography format download from here https://www.zotero.org/styles

my bibtex file is referenced in yaml header of md file or

--bibliography yourbibtexfile.bib

Obsidian pandoc plugin is - well, let's say, not ideal, so you have try various command with or without quotes etc. I don't remember how I set up, I give up from Obsidian because of pandoc problems. Of course, you can always use terminal, but it's more convenient to use pandoc from app


On Wednesday, November 24, 2021 at 4:58:32 PM UTC+1 Alan wrote:
--reference-doc my-reference.docx
or
--reference-doc=my-reference.docx

Presume my-reference.docx is in the same folder your Obsidian vault is.


On Wednesday, November 24, 2021 at 3:30:38 PM UTC+1 paulschi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
I'm on Linux and using Obsidian.md for taking notes. Someone from the Obsidian community created a plugin that uses Pandoc so you can output your notes to a desired format. For me that's .docx files. I'm trying to find a way to change the default template.

Specfically I'd like to change the font color for headings and the default line spacing. I have a file I called "default.docx" but that didn't work. So I found the thing on the "about" page "--reference-doc=FILE
but I don't understand how to tell Pandoc that I want it to use the reference for .docx always.

Thanks!

--
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/f46e4d65-0fdf-4be2-949b-2f4f7a68ac99n%40googlegroups.com.