Text editor in Markdown
Can export in HTML and PDF
It is much more powerful if used along with:
A simple, personal wiki that can be installed both in Windows and Android devices. All installations are kept in synch throuhg a Dropbox account.
Its author says that "it is free and open source". The source can be found on github.