Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parse ¶ added in v1.0.0
Parse parses the front matter from the given markdown content and returns the parsed metadata and the rest of the content.
The front matter is expected to be in YAML format and is unmarshalled into the provided type T. The rest of the content is returned as a string.
If the front matter is not present, FrontMatter will be empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.