pub fn convert(markdown_markup: &str, title: &str, section: u8) -> String
Expand description

Converts a markdown string to a groff/troff string.

  • title is the name of the program. It’s typically all-uppercase.

  • section is the numeric section of man pages. Usually 1.

The conversion is very rough. HTML fragments are merely stripped from tags. GitHub tables extension is not supported.