md2man - markdown to manpage
md2man is a Ruby library and command-line program that converts
Markdown documents into UNIX manual pages (really Roff documents)
using the Redcarpet library.
roff: do not render references inside code blocks.
roff: do not render references inside code spans.
roff: fix single-line indented paragraph detection.
roff: also indent block_code just like block_quote.
roff: add paragraph above block_quote for spacing.
roff: render code blocks as paragraphs for spacing.
Otherwise there’s not enough space between the previous
paragraph and the code block: it appears on the next line
and appears ugly in man(1).
document: make reference regexp match more manpages.
document: stronger digest encoding using NUL bytes.
document: super() can’t reach Redcarpet’s renderer classes.
See Calling super in a subclass of Render::HTML should render the HTML · Issue #51 · vmg/redcarpet · GitHub for details.