Why is the formatting so messed up? Page seems to be fixed width but not wide enough for an actual line so all lines soft wrap?…
man -Thtml ls > ls.html
man -Tpdf ls > ls.pdf(I don't think that Plan9's "not thinking in terms of terminals", which is more of a "a better-than-X11 GUI is the default UI" is really relevant in this context)
EDIT: I don't have a Plan9 box around, but at least on plan9port, man(1) by default wraps lines to 72 columns or so.
[0]: https://man.cat-v.org/clive/6/style
[1]: https://github.com/plan9foundation/plan9/blob/main/sys/src/c...
(I know other roffs are available).
body > nav { min-width: 5em; }
article { flex-basis: 45em;}