Pagedjs docker image example implementaion
input
The input needs to be a zip file containing the following:
- the html to render
- the css file to render (a single css file)
- the hooks as js
- the fonts
The images should be available through a CDN
To run
docker-compose up
→ create a
zip file containing 1 html / css 1 css file images → with validURL js should be including in the zip file.
https://hub.docker.com/r/cokoapps/pagedjs
https://gitlab.coko.foundation/cokoapps/pagedjs/-/tree/master/
→ update to use the beta pagedjs
@media all { p#p298 {color: orange} }
@media print { p { color: blue} }
@media screen, pagedjs-ignore {
p#p298 { color: orange }
/* p {color: red} */ }