You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Front matter: wire up RawContentParser + round-trip verification #3
Switch from the planned custom Flexmark opaque front matter extension to commonmark-java's built-in YamlFrontMatterExtension with RawContentParser.
Background
commonmark-java's YamlFrontMatterExtension supports a RawContentParser mode that captures the entire front matter block as a single raw string, enabling verbatim round-trip through MarkdownRenderer. This replaces the originally planned custom Flexmark BlockParser / NodeFormatter extension.
Scope
Wire up YamlFrontMatterExtension.create(RawContentParser.Factory()) in MarkdownParser
Verify that YamlFrontMatterVisitor.readRawContent(document) returns the raw front matter string
Confirm round-trip: parse → render to Markdown → front matter is byte-for-byte identical
Confirm documents without front matter are unaffected
Acceptance criteria
A MarkdownDocument with front matter round-trips through MarkdownRenderer with no mutation to the front matter block
Activity
[-]Opaque front matter extension[/-][+]Front matter: wire up RawContentParser + round-trip verification[/+]chore: switch from flexmark-java to commonmark-java
feat: front matter round-trip spike (#3)