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

pandoc .\ -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:

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

choco install pandoc