winget install ignatandrei.MakeBookCLI
Download latest version of the software from github
https://github.com/ignatandrei/makeBook/releases
You will download an executable file - latest is https://github.com/ignatandrei/makeBook/releases/download/v8.2024.822.523/MakeBookCLI.exe
Note for Windows Users : Unblock the software prior to execute it.
Now run
MakeBookCLI i --folder
MakeBookCLI gmk --folder
The first command will init the structure.
The second one will start to generate output ( html, doc,epub) from the markdown files.
Modify bookData.json file in the .bookSettings folder and change the author ( obviously , your name ) and title ( obviously , the title of the book )
Modify the documents on the book folder. The program will execute continuously and generate the html and doc documents . Those can be seen at the .output folder
If you want the pdf , then you should install a PDF Engine . You could install miktext with
choco install pandoc
choco install rsvg-convert python miktex
Modify in the .bookSettings/bookData.json
"valueNear": ".pandoc/pandoc.exe",
"value": "%LocalAppData%\\Pandoc\\pandoc.exe"
Also modify in .bookSettings/bookData.json the "make an pdf with miktext" value
"enabled":true,
"redirectOutput":false
Close the app ( and the console that you are using )and restart the application .
For more details,please read documentation at https://ignatandrei.github.io/makeBook/