ReText is a text editor for various markup languages (such as Markdown,
reStructuredText, Textile, and Asciidoc). It gives you the power to control
all output formatting. The files it works with are plain text files, however
it can export to PDF, HTML and other formats, and can display content in
WYSIWYG form.

Homepage:
https://github.com/retext-project/retext
