Hacker News new | ask | show | jobs
by bryanhogan 34 days ago
As most sites will have horrible CSS for printing, as it's not a big priority usually, I can recommend getting the page as a markdown file through something like the Obsidian Web Clipper and using that instead.

Obsidian Web Clipper: https://obsidian.md/clipper

1 comments

I've run into this a lot, and my solution has been a bit intricate. I built Heck Yes Markdown years ago, then perfected a html2text/readability Swift library a while back. All of it came together in Marked 3, which has a built-in clipper and extensions for Firefox, Safari, and Chrome, and can clip any web page to Markdown and then do whatever you want with it, including Print/PDF output with your own styles. Having dealt with this frustration for years, I think it's a good solution.