Hacker News new | ask | show | jobs
by webpraktikos 2473 days ago
In Chrome, you can save it as .pdf by Right-click → Print. By expanding More Settings, change Page Size to A4 or Letter. Next, maybe find a .pdf to .docx converter.
1 comments

PDFs are notoriously hard to convert to anything else. Imagine a web page where every single character is positioned absolutely relative to the `body` element: This is how PDF layout works.

It's easier when the PDF also contains HTML tags. So your approach may actually work though it's kinda silly.

Pandoc[1] is a better solution.

[1] https://pandoc.org/

I didn’t know that. I’ll certainly research that.
Pandoc is pretty great.