postmodern / kramdown-man

Allows you to write man pages in pure markdown.
MIT License
85 stars 4 forks source link

Support definition list and tables #11

Closed lu-zero closed 9 months ago

lu-zero commented 11 years ago

According to the documentation definition lists (and tables) are not supported even if kramdown does support it.

postmodern commented 11 years ago

We could support tables, since groff also supports tables. Not sure what we would render definition lists?

lu-zero commented 11 years ago

groff has .IP so a definition list can be rendered as

 A glossary-style list:
 .IP lawyers 0.4i
 Two or more attorneys.
 .IP guns
 Firearms, preferably
 large-caliber.
 .IP money
 Gotta pay for those
 lawyers and guns!

as explained in

http://www.gnu.org/software/groff/manual/html_node/Lists-in-ms.html

postmodern commented 9 months ago

This was finally implemented in eb0b11e in the 1.0.0 branch. Version 1.0.0 will probably be released tomorrow or next week.