CSS for Printing to Paper (2025)

(voussoir.net)

12 points | by Tomte 12 hours ago ago

2 comments

  • 0xcoffee 10 minutes ago ago

    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 7 hours ago ago

    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/