Documentation
¶
Overview ¶
Package mdparse provides shared markdown parsing utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderFrontmatter ¶ added in v0.7.0
RenderFrontmatter renders YAML frontmatter and a markdown body into the standard frontmatter format:
--- (YAML) --- (body)
func SplitFrontmatter ¶
SplitFrontmatter extracts YAML frontmatter and body from markdown content. The content must begin with a "---" delimiter line followed by YAML, then a closing "---" delimiter. Everything after the closing delimiter is returned as the body.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.