markdown_forge 0.1.0
markdown_forge: ^0.1.0 copied to clipboard
GitHub-Flavored Markdown renderer and live-syntax source editor for Flutter: tables, task lists, footnotes, KaTeX math, Mermaid and an outline.
Changelog #
0.1.0 #
First extraction, from AllisWell (OPH-274 / ADR-0033), where every part of this package shipped and was tested in production screens first.
MarkdownView— a hand-written GFM widget tree over themarkdownparser, carrying a node → source-line map: tables, task lists, footnotes, alerts, fenced code with copy buttons, KaTeX math, Mermaid flowcharts and sequence diagrams, front-matter strips, heading folding.ReadingMode— the renderer plus an outline (side panel ≥ 900 px, sheet below), scroll-synced current-section highlight and#anchorjumps.MdSourceController— live syntax in an ordinaryTextField: headings sized in the field, bold bold, markers dimmed off the caret's line. Never hidden — the controller returns every character oftext, by contract.SourceMode— the editor surface: split preview with two-way scroll sync, focus mode, find & replace, slash menu, ⌘K command palette, list auto-continuation, smart paste.MarkdownForgeseams:MarkdownTheme,MarkdownStrings(with a fold hook for locales the default lowercase gets wrong),MarkdownImageResolver, and a link-scheme allowlist.