Oddbean new post about | logout
 nostr:npub1z2qdmfzhs2uwg8kmsh37xavt2hq48gch63e787ggd3s6mt8waxgsxu3yuf I don't use google-chrome, but on linux (Ubuntu 22.04) I use it in one script to print an html page to pdf.

Assuming that you have loaded the html with wget, you can do

$ google-chrome --headless --print-to-pdf="file.pdf" file.html