Is there any decent GUI(Graphical User Interface) WYSIWYG(What You See is What You Get) editor (on any platform) that can be used for authoring/editing manpages? An app that can export to the troff format would also be fine.
NroffEdit was originally created for writing RFCs, but since they're, like man pages, in troff format, I guess you could use it for that.
You want ronn.
Ronn builds manuals. It converts simple, human readable textfiles to roff for terminal display, and also to HTML for the web.
It's not WYSIWYG, but it does let you export normal text files. Since nroff doesn't support arbitrarily positioned text that's about as good as it gets.
There is an online editor for man pages in mdoc
format: http://roperzh.github.io/grapse/
Mdoc is a semantic markup for man pages. It has been around for about two decades and supported by Linux and other Unix-like OSes. You should prefer mdoc
to troff
.
来源:https://stackoverflow.com/questions/7707119/what-tools-are-available-to-edit-manpages-i-e-gui-wysiwyg-editors-any-platfor