Hacker News new | ask | show | jobs
by perlgeek 615 days ago
> Come up or adapt a format, that can defer certain styling decisions to the consumer of the document. Stuff like, font, font size, line spacing, citation style, double or single column, numeration style, etc.

We have that, it's called HTML. The use case is quite different from PDF though.

1 comments

Paged.js might scratch that HTML-as-a-doc itch until we can drop the polyfill for the actual CSS paged media spec [0].

[0]: https://github.com/pagedjs/pagedjs/tree/main/examples