frontmatter_gen

Module types

Source
Expand description

This module defines the core types used throughout the frontmatter-gen crate. It includes the Format enum for representing different frontmatter formats, the Value enum for representing various data types that can be stored in frontmatter, and the Frontmatter struct which is the main container for frontmatter data.

Structs§

  • Represents the frontmatter, a collection of key-value pairs.

Enums§

  • Represents the different formats supported for frontmatter serialization/deserialization.
  • A flexible value type that can hold various types of data found in frontmatter.

Functions§

  • Escapes special characters in a string (e.g., backslashes and quotes).