Kramdown-man: A Kramdown convert for converting Markdown files into man pages
github.com
github.com
Here's the blog entry[1] where he talks about the rationale for writing the tool.
The page mentions that it is inspired by Markdown, but is not actually Markdown because it was designed for HTML.
I'm glad to see more projects in this space.
.Fl x
And an environment variable: .Ev VARNAME
Instead of just saying "this text is bold", or just not marking it at all.Does that matter? Maybe, maybe not. In theory at least "a list of all flags used and referenced in this document" and "list of all env vars references" would pretty useful. In practice so many manpages get this wrong that it just doesn't work half the time, so then it's no longer all that useful for the general case.
Unless AsciiDoc changed a lot since I last looked at it, it doesn't support anything like this.
The oddball reStructuredText also has a similar system of "roles" and "directives", but its syntax is kind of painful to use and IMO AsciiDoc is easier to read and write.
...ruby markdown2man