GitBook is a tool for building beautiful books using Git and Markdown. It can generate your book in multiple formats:
- Static Website: This is the default format, it generates a complete interactive static website.
- PDF: A complete PDF book with exercise solutions at the end of the book.
- eBook: A complete eBook in ePub format with exercise solutions at the end of the book.
GitBook is open source and completely free, the source code of the tool is available on GitHub.