Skip to content

Support for groff files/manpages? #478

@woodruffw

Description

@woodruffw

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

And a picture of the output.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions