Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorFrontmatterNotFound error = errors.New("frontmatter header not found")
error messages
View Source
var FmYAMLDelimiter []byte = []byte("---")
Functions ¶
func HasFrontmatterHeader ¶
returns whether the provided content contains a YAML frontmatter header
func ParseFrontmatter ¶
func ParseFrontmatterAndContent ¶
input is frontmatter + markdown return values - frontmatter - markdown - error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.