Conversion to markdown syntax

I have become interested in using markdown as an "intermediate" format in certain situations. One situation is creating draft documents on my tablets or phone, another one is exporting OpenOffice/LibreOffice documents in markdown syntax.

I found the odt2txt.py program but it did not work well, it also did not handle tables. Is there another program, or plugin, capable of generating markdown syntax?

Thank you.

Pandoc[0] command-line tool that can convert many text-based markup
formats from one to another. It supports many different markdown
flavors by extensions mechanism.

But you should be aware that markdown lacks syntax for some
LibreOffice/OpenDocument features and conversion results might be
unsatisfactory for anything but simplest documents.

[0] http://pandoc.org/