4 ms·
Author here. I mentioned https://polytype.dev/ https://polytype.dev/ in the end of the post, which has pages.js included. Is not that hard to simulate paginat
by xiaohanyu 2y ago
Author here.
I mentioned https://polytype.dev/ https://polytype.dev/ in the end of the post, which has pages.js included.
Is not that hard to simulate pagination with JavaScript, the deal breaker for me is still line breaking and also mixed languages typesetting nuances.
- phonon 2y agoThat's pretty indirect....you might want to look more closely... https://drafts.csswg.org/css-page/ https://drafts.csswg.org/css-page/ covers quite a lot... You also didn't mention the new (Chrome only) CSS text-wrap: pretty https://developer.chrome.com/blog/css-text-wrap-pretty https://developer.chrome.com/blog/css-text-wrap-pretty https://docs.google.com/document/d/1jJFD8nAUuiUX6ArFZQqQo8yTsvg8IuAq7oFrNQxPeqI/edit?tab=t.0#heading=h.cqq9czoal00g https://docs.google.com/document/d/1jJFD8nAUuiUX6ArFZQqQo8yT... https://chromestatus.com/feature/5145771917180928 https://chromestatus.com/feature/5145771917180928