Hacker News new | ask | show | jobs
by AdieuToLogic 2460 days ago
> Once I tried a tool like this, but just realized, there is already a method of that: the ~/bin folder.

One thing I'd add to this is that "crib notes" can be captured in man[0] pages. For example, having them in $HOME/man and ensuring MANPATH[1] includes it serves as a nice complement IMHO. There seems to be a markdown-based tool[2] which can assist in authoring them too.

EDIT: It looks like pandoc[3] can generate man pages from markdown as well.

0 - https://forums.freebsd.org/threads/howto-create-a-manpage-fr...

1 - https://www.freebsd.org/cgi/man.cgi?query=man&apropos=0&sekt...

2 - https://spin.atomicobject.com/2015/05/06/man-pages-in-markdo...

3 - https://pandoc.org/MANUAL.html

1 comments

to these great refs I would recommend the Ruby tool ronn

https://github.com/rtomayko/ronn