Convert All .md Files to Many Word Documents

You may want to download the Lessons folder and then convert all the .md files to word documents for your colleagues while still making your own Obsidian .md files... You can run this script to convert them all using a custom template.

Step 1. Make a Dummy Template File

Step 2. Use the Dummy Template File (in the Same folder) to Convert All the .md Files to the Preferred Style

Run the following in PowerShell. It will iteratively call pandoc instead of using wsl.

Get-ChildItem -Filter *.md | ForEach-Object { pandoc $_.FullName -o ($_.FullName -replace '\.md
, '.docx') --reference-doc=custom-reference.docx }