-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for groff files/manpages? #478
Comments
I am interested in this as well. @woodruffw have you made any progress on implementing it? |
@hunterboerner Adding this would be pretty simple (just another rule for |
Any updates on this issue? I'd still love to see this support. |
Unfortunately, we're unlikely to add any new format support in the future, as each format requires ongoing maintenance and security work from our end. We're still looking to properly sandbox blob rendering in the future, and if/when that happens it'd be a lot easier to add formats, but right now we just can't take on the extra work. |
There is open pull request #1196 for manpage support. |
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 justgroff -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
orgroff
isn't acceptable, it should be possible to integrate the source ofman2html
(which is just a perl script) into this repo or translate it into ruby.The text was updated successfully, but these errors were encountered: