- Documented API
- Creates valid EPUB 3.0 files
- Adds an additional EPUB 2.0 table of contents (as seen here) for maximum compatibility
- Includes support for adding CSS, images, and fonts
For an example of actual usage, see https://github.com/bmaupin/go-docs-epub
go get github.com/speedata/go-epub
go get github.com/speedata/go-epub
cd $GOPATH/src/github.com/speedata/go-epub
Dependencies are managed using Go modules
-
(Optional) Install EpubCheck
wget https://github.com/w3c/epubcheck/releases/download/v4.2.2/epubcheck-4.2.2.zip unzip epubcheck-4.2.2.zip
-
Run tests
go test
This is a fork of https://github.com/bmaupin/go-epub. So all credits and kudos should go there and any bugs are most likeliy introduced by us.
This fork allows subsections to be added to the navigation.