Even better you can have pandoc output markdown.

Which almost looks like what this terminal program is doing ?