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
- Host: GitHub
- URL: https://github.com/deadcoder0904/book-maker
- Owner: deadcoder0904
- Created: 2024-04-02T10:11:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-02T10:11:32.000Z (almost 2 years ago)
- Last Synced: 2025-01-14T13:18:26.365Z (about 1 year ago)
- Language: CSS
- Size: 217 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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