Crate mdman

Source
Expand description

mdman markdown to man converter.

This crate is maintained by the Cargo team, primarily for use by Cargo and not intended for external use (except as a transitive dependency). This crate may make major changes to its APIs or be deprecated without warning.

Modulesยง

format ๐Ÿ”’
hbs ๐Ÿ”’
Handlebars template processing.
util ๐Ÿ”’

Enumsยง

Format
The output formats supported by mdman.

Functionsยง

convert
Converts the handlebars markdown file at the given path into the given format, returning the translated result.
extract_section
join_url ๐Ÿ”’
md_parser ๐Ÿ”’
Creates a new markdown parser with the given input.

Type Aliasesยง

EventIter ๐Ÿ”’
Pulldown-cmark iterator yielding an (event, range) tuple.
ManMap
Mapping of (name, section) of a man page to a URL.
Section
A man section.