https://github.com/sunaku/md2man#readme
md2man is a Ruby library and command-line program that converts
Markdown documents into UNIX manual pages (both Roff and HTML).
Demonstration of HTML manual page output from md2man-html(1):
- http://snk.tuxfamily.org/lib/md2man/
- http://snk.tuxfamily.org/lib/binman/
- http://snk.tuxfamily.org/lib/tork/
Version 2.0.2 (2013-09-08)
Patch:
-
GH-14: escape single quotes at beginning of lines
See the “CONTROL CHARACTERS” section in the groff(7) manual for
details.Thanks to Nick Fagerlund for reporting this bug.
-
inhibit periods at line beginnings with & escape
-
escape text line backslashes as “\e” per groff(7)
-
better documentation for escaping in normal_text()
-
it’s better to escape backslashes as [rs] than \e
See “Single-Character Escapes” section in groff(7).
Other:
- switch from double-quoted strings to single quotes