This is the setup to convert my book into HTML, PDF and ePUB format.
- clone this repo
- cd into the cloned repo
yarn setup
yarn preview
yarn generate:pdf
You need to have pandoc installed and in your $PATH
yarn generate:epub
Whenever there was an update to the book, you need to update the files in ./content
first. You can use yarn update
as shortcut if you're too lazy to cd into the folder and git pull it.