Wanted to bring this up again, I found a really easy way to convert all files in a directory, while merging them as well. The below command should be used in powershell. pandoc (get-item *.txt).FullName -o final.docx If you wanted to convert a directory of Docx files and merge them all into one, use the below command. I kept the --wrap=none in there because your text will look ghastly otherwise, so it's best to have no wrapping at all when converting to an MD or TXT file. pandoc (get-item *.docx).FullName --wrap=none -o final.md On Thursday, January 19, 2023 at 12:18:23 PM UTC-6 BPJ wrote: > It can be in the first file but I would put it in its own metadata.yaml > file and include it with the --metadata-file=YAMLFILENAME option. That way > you can convert the files singleton if you wish. > > Den tors 19 jan. 2023 13:16 skrev: > >> It does help! If I have multiple files in a folder the way you outlined, >> does the YAML have to be in all the chapters or can it just be in 001? >> > -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/9eba1a7f-1ea4-444d-96c6-8f835ade1915n%40googlegroups.com.