package
2.3.1
Repository: https://github.com/mstcl/pher.git
Documentation: pkg.go.dev

# Functions

Get retrieves the front matter data from the [parser.Context].

# Constants

SetMetadata instructs the extender to convert the front matter into a map[string]interface{} and set it as the metadata of the document.

# Variables

DefaultFormats is the list of frontmatter formats that are recognized by default.
YAML provides support for frontmatter in the YAML format.

# Structs

Data holds the front matter data.
Extender adds support for front matter to a Goldmark Markdown parser.
Format defines a front matter format recognized by this package.
MetaTransformer is an AST transformer that converts the front matter of a document into a map[string]interface{} and stores it on the document as metadata.
Parser parses front matter from a Markdown document.

# Type aliases

Mode specifies the mode in which the Extender operates.