Converting Markdown to HTML and/or ODT format

These commands from the command line convert from markdown to HTML and then HTML to ODT.

pandoc .\some-file.md -f markdown -t html -s -o .\some-file.html    

pandoc .\some-file.html -f html -t odt -o .\some-file.odt

That allows us to preserve some of the markdown formatting when importing a markdown documents into Office 365 or Google Docs.

See also: https://www.pandoc.org/getting-started.html

It's easiest to install Pandoc on Windows with Chocolaty.

choco install pandoc