manML is a small utility app which displays macOS man pages which use the mandoc (groff/troff) format. Unlike all other such man page display software, this app does not use the legacy groff/troff code, opting instead for a 100% Swift and SwiftUI implementation, which allows it to render more beautiful man pages.
In the event that there are incompatibilities with the legacy code which cause problems in rendering the man page, one can switch to the legacy implementation.
In addition to rendering the man page in beautiful HTML, a click on the display will display the source line from the mandoc file as an aid to refining the man page source.
In order to use manML directly from the command line, defining the shell function:
mm() { open manml:/$1 }
(which can be placed in your .zshrc
) after which
mm cat
will open the man page for cat, and
mm stat/2
will open the man page for 2 stat.