Module
PuduLangDocgen.Markdown.FrontMatter
YAML header split from article body lines
Types
| Name | Description |
|---|---|
Line |
One body line with its one-based source number |
Header |
Metadata and the body lines after it |
Functions
| Name | Description |
|---|---|
split |
Metadata from a leading `---` block and the numbered lines after it. A header that is not a YAML mapping fails with its one-based line. |
split
Metadata from a leading --- block and the numbered lines after it.
A header that is not a YAML mapping fails with its one-based line.
Parameters
textStr
Returns
Result[Header, (Int, Str)]