Copyright | (c) 2021-2022 Mirko Westermeier |
---|---|
License | MIT |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
A parser for over-simplified frontmatter metadata
Over-simplified frontmatter
Frontmatter usually means a section of YAML data at the beginning of
text-based files (like markdown data), surrounded by "---"
:
--- front: matter answer: 42 color: blue --- Rest of the document ...
This parser only understands an oversimplified version, with simple key-value pairs only. For most use cases this should be enough though.