Pull out the frontmatter from a MD source and return a k-v map.
NOTE! This does not support YAML, it only fakes it by pulling out simple key-values. Use a front-matter parser if you need true YAML support.
If this function couldn't parse the front-matter or the document didn't have one, then this will return null.
The markdown source file
A kv map of front-matter params, or null.
Generated using TypeDoc
Pull out the frontmatter from a MD source and return a k-v map.
NOTE! This does not support YAML, it only fakes it by pulling out simple key-values. Use a front-matter parser if you need true YAML support.
If this function couldn't parse the front-matter or the document didn't have one, then this will return null.