3 ms·
I hate to say it but you're exhibiting bias in your post. How much time did you actually spend looking? What search terms did you use? While I'll agree that md
by MisterTea 8y ago
I hate to say it but you're exhibiting bias in your post. How much time did you actually spend looking? What search terms did you use? While I'll agree that md looks easy at first, troff isn't much more difficult if you put the time into it (humans are lazy, I get it). Here's one I found in under a minute by searching for 'how to write linux man page using troff':
https://liw.fi/manpages/ https://liw.fi/manpages/
and of course the official manual which has a nice command table in the beginning:
https://www.troff.org/54.pdf https://www.troff.org/54.pdf
Also of note: troff supports macros so the man page formatting won't be found in the troff manual because they are part of the man macro package.
- wodenokoto 8y ago> How much time did you actually spend looking? Like I said, more time than it took me to learn markdown. > Here's one I found in under a minute by searching for 'how to write linux man page using troff' Of course I was not searching for "How to make man pages". Why would I do that, when parent said this was a better alternative to markdown. > Also of note: troff supports macros so the man page formatting won't be found in the troff manual because they are part of the man macro package. Which again makes it pretty reasonable why places like github chose markdown over troff.