3 ms·
The advantage is that tools have been developed to make perfect positioning of elements (text and images). So pdf authors never have to worry about different re
by hirako2000 6y ago
The advantage is that tools have been developed to make perfect positioning of elements (text and images). So pdf authors never have to worry about different reader form factors.
And, when reading a Pdf, you can print it and get exactly what we see on the screen. So the tooling is very straightforward for the reader, just click print. With other Web content, it's the browser trying to fit things the way they should on a page and it generally looks horrible.
Positioning elements coded in marked language into a page is actually a tricky thing. Until we have the tooling to magically make any markdown content (with images) fit nicely in a page, pdf will prevail. Any hint on a tool that can take my markdown and print out beautiful pages, without having to tweak a dozen params, please show me.
- mattkevan 6y agoBear is good at producing nicely formatted PDFs from markdown. Styling options are (very) limited, but I like using it as the documents always look good.
- mekster 6y ago> Positioning elements coded in marked language into a page is actually a tricky thing. This is almost impossible to do right. Even browsers can't produce a PDF that looks exactly the same as a web page. If you want to programmatically produce a PDF from a web page, the best bet is to load up a full browser implementation just for that purpose as any other simpler solutions would certainly break the results pretty often.