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§

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