Skip to content
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

Closed
woodruffw opened this issue Mar 31, 2015 · 6 comments
Closed

Support for groff files/manpages? #478

woodruffw opened this issue Mar 31, 2015 · 6 comments

Comments

@woodruffw
Copy link

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.

@hunterboerner
Copy link

I am interested in this as well. @woodruffw have you made any progress on implementing it?

@hunterboerner
Copy link

I see #11 and #342 as related.

@woodruffw
Copy link
Author

@hunterboerner Adding this would be pretty simple (just another rule for markup to check against`), but it seems like there's no interest from the maintainers/owners in adding new formats.

@joshtriplett
Copy link

Any updates on this issue? I'd still love to see this support.

@kivikakk
Copy link
Contributor

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.

@pali
Copy link
Contributor

pali commented Jun 27, 2018

There is open pull request #1196 for manpage support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants