cosmic_frontmatter library

Classes

Document<T>
Representation of a Markdown document with frontmatter.
FrontmatterParseException
Thrown when the frontmatter is not valid.
FrontmatterParseExceptionDelimiter

Functions

parseFrontmatter<T>({required String content, required T frontmatterBuilder(Map<String, dynamic>), String delimiter = '---'}) Document<T>
Parses a YAML document into a Document object.