Frontmatter

The dependencies necessary for this plugin can be installed using the frontmatter extra.

class pysmith.contrib.core.frontmatter.Frontmatter(*, match_pattern='*')[source]

Parses YAML frontmatter from files. The parsed frontmatter metadata will be added to the file’s metadata and removed from the contents.

Parameters

match_pattern (str) – The pattern of files to parse metadata from.