I used a tool called AsciiDoctor (
http://www.asciidoctor.org), which uses a markup called AsciiDoc. Its not Markdown, but similar. It works quite well, but is still missing some features like forced page breaks, the last time i used it about a year ago.
Edit: corrected tld