Skip to main content

Module markdown

Module markdown 

Source

Structs§

MarkdownDoc

Constants§

CONVERSATION_END
CONVERSATION_START

Functions§

append_conversation
extract_conversation
parse_frontmatter
Deserialize a YAML frontmatter block into a typed struct.
read_doc
Split a markdown document and deserialize its frontmatter, returning the parsed struct and the raw body (untouched markdown).
render_frontmatter
Re-attach a serialized frontmatter struct to an untouched markdown body.
replace_conversation
split_frontmatter