AsciiDoc is a text document format for writing notes, documentation, articles, books, ebooks, slideshows, web pages, man pages and blogs. AsciiDoc files can be translated to many formats including HTML, PDF, EPUB, man page. — via AsciiDoc Home Page.
Very interesting because it lets you export documents to DocBook and from there you can easily generate HTML and PDF.
Some books written using AsciiDoc: