Remix.run Logo
CSS for Printing to Paper (2025)(voussoir.net)
12 points by Tomte a day ago | 2 comments
0xcoffee 13 hours ago | parent | next [-]

When I wanted to try and design a printable static site, I stumbled over the fact that it's not possible to do automatic page numbers (including total page count) with CSS. Settled on using https://pagedjs.org/

treetalker 20 hours ago | parent | prev [-]

This is useful. I use a similar setup to convert online articles worth understanding in depth into a standardized, Tufte-like format to print in my preferred font/size/spacing and to leave the right-hand 40% of the page blank for making handwritten notes.

Article--> markdown via Marky or similar --> Marked app [1] --> apply CSS --> print --> annotate.

[0]: Marky — https://heckyesmarkdown.com/

[1]: Marked app — https://markedapp.com/