Crate uuhelp_parser

Source
Expand description

A collection of functions to parse the markdown code of help files.

The structure of the markdown code is assumed to be:

§util name

usage info

About text

§Section 1

Some content

§Section 2

Some content

Functions§

parse_about
Parses the text between the first markdown code block and the next header, if any, into an about string.
parse_section
Get a single section from content
parse_usage
Parses the first markdown code block into a usage string