frontmatter

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package frontmatter splits the YAML frontmatter off a markdown file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Split

func Split(content string) (front, body string, ok bool)

Split returns ok false and the whole content as body when the frontmatter is missing or unclosed. A "---" line may end in spaces, tabs or CR.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL