-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Would the introduction of troff/groff (man pages) rendering be accepted?
Currently, GitHub just displays groff files in source form, but with a tool like man2html or even just groff -mandoc -Thtml it could easily support displaying them in some basic HTML form.
Example groff file:
https://github.com/woodruffw/screenfetch-c/blob/master/man/screenfetch-c.1
Rendered with groff -mandoc -Thtml screenfetch-c.1:
https://gist.github.com/woodruffw/1cb8a95766f9fee4fbd4
If this is the kind of thing that markup should support, I'd be happy to add it. If depending on an external utility like man2html or groff isn't acceptable, it should be possible to integrate the source of man2html (which is just a perl script) into this repo or translate it into ruby.