I just find a novel tool based on git and markdown to create book or exercice: GitBook.io
I’m not sure the project is mature enough yet, but I add it here anyway to remember and keep track.
####GitBook can generate your book in the following formats:
- Static Website: This is the default format. It generates a complete interactive static website that can be, for example, hosted on GitHub Pages.
- eBook: A complete eBook with exercise solutions at the end of the book. The output format could be PDF, ePub or MOBI.
- Single Page: The book will be stored in a single printable HTML page. This format is used for conversion to PDF or eBook.
- JSON: This format is used for debugging or extracting metadata from a book.
####They offer a markdown editor application. At first sight, it looks nice:
Multiple people can participate in the writing of a book and will be listed automatically as authors.
GitBook supports building books written in multiple languages.