Implement a typed accessor for front matter values backed by Jackson YAML.
Scope
FrontMatter — wraps the raw front matter string, provides typed get/set access via Jackson YAMLMapperMarkdownDocument.frontMatter: FrontMatter? extension or property- Support reading arbitrary keys as
String, List<String>, Int, Boolean - Support writing back a modified value and obtaining the updated raw YAML string (for writing back into the opaque AST node)
Notes
- Jackson YAML is already a dependency — use
YAMLMapper directly, no extra libraries - Nested YAML structures should be accessible but are not a primary use case
Acceptance criteria
frontMatter["title"] returns the title stringfrontMatter["tags"] returns a List<String>- Modified front matter can be serialised back to a valid YAML string and round-tripped through the opaque node
Implement a typed accessor for front matter values backed by Jackson YAML.
Scope
FrontMatter— wraps the raw front matter string, provides typed get/set access via JacksonYAMLMapperMarkdownDocument.frontMatter: FrontMatter?extension or propertyString,List<String>,Int,BooleanNotes
YAMLMapperdirectly, no extra librariesAcceptance criteria
frontMatter["title"]returns the title stringfrontMatter["tags"]returns aList<String>