You also might want to take a look at GitBook (<a href="https:&#x2F;&#x2F;www.gitbook.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.gitbook.com&#x2F;</a>).<p>It supports both Markdown and AsciiDoc and is used by authors to write books, documentation, research-papers (GitBook has great TeX support, in all outputs: web, pdf, epub, mobi). (Here&#x27;s a math heavy book for example: <a href="http:&#x2F;&#x2F;jandeleeuw.gitbooks.io&#x2F;bras1&#x2F;content&#x2F;blockrelaxation&#x2F;bls.html" rel="nofollow">http:&#x2F;&#x2F;jandeleeuw.gitbooks.io&#x2F;bras1&#x2F;content&#x2F;blockrelaxation&#x2F;...</a>)<p>The format and toolchain itself is open-source (<a href="https:&#x2F;&#x2F;github.com&#x2F;GitbookIO&#x2F;gitbook" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;GitbookIO&#x2F;gitbook</a>)<p>There&#x27;s a ecosystem built on top of that such as a Desktop Editor (<a href="https:&#x2F;&#x2F;www.gitbook.com&#x2F;editor" rel="nofollow">https:&#x2F;&#x2F;www.gitbook.com&#x2F;editor</a>), plugins (<a href="http:&#x2F;&#x2F;plugins.gitbook.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;plugins.gitbook.com&#x2F;</a>), and more ...<p>I don&#x27;t want to hijack the current thread, Madoko seems really cool, I thought some of you might be interested in a more established solution. I&#x27;m happy to answer any questions !<p>Disclaimer: I&#x27;m one of the GitBook co-founders