Skip to main content

parse_markdown

Function parse_markdown 

Source
pub fn parse_markdown(input: &str) -> Result<SkillManifest, ParseError>
Expand description

Parse markdown-frontmatter skill source. Frontmatter (between two --- fences) is YAML; the body becomes content.abstract plus — if it has a ## Steps heading — a synthesised content.procedure, or otherwise a content.context. This is the human-authoring surface; canonical YAML remains source of truth on disk.