PyDocX is a tool that can export MS Word documents (Office Open XML) into different markup languages. Currently, only HTML is supported. You can extend any of the available exporters to customize it to your needs. This includes extending the base exporter to add support for a markup language or format that is not supported.
PyDocX
Cite this entry: "PyDocX," in Open Access Resources, September 13, 2018, https://oaresources.xyz/pydocx/