An open API service indexing awesome lists of open source software.

https://github.com/deadcoder0904/book-maker

Make books by writing markdown files
https://github.com/deadcoder0904/book-maker

Last synced: 12 months ago
JSON representation

Make books by writing markdown files

Awesome Lists containing this project

README

          

# book-maker

1. install tailwind & princexml
2. find a way to have hmr in public folder

### run the following in new terminal parallely

1. generate tailwind - `bun tailwind:watch`
2. run the book on web - `bun dev` (optional)
3. generate a pdf - `bun nodemon`

### run the following to generate pdf after some changes to .md files

run `bun start` to generate css using tailwind (`bun prestart`), convert `chapter#/index.md` files to `index.html`, and finally generate a pdf using `princexml`.

> note: you can ignore `public/` folder entirely as it gets generated.

### delete annotation after running through princexml

https://www.sejda.com/delete-pdf-annotations