feat(auto-close): implement richer syntax support - #394
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Documentation previews📚 Preview all documentation changes (follows new pushes) Pinned to the current head: |
comark
@comark/angular
@comark/ansi
@comark/html
@comark/nuxt
@comark/react
@comark/svelte
@comark/vue
commit: |
◈ PR Lens
Architecture 6 components touched across 5 lanes. Inside the changed components — 1 viewComponent view — Streaming & Auto-Close Engine Internal modules of the streaming self-healing engine executing block scanning, inline character healing, link placeholder insertion, and table padding. Data flow
The other flows — 1 sequence
Drill down
|
What
Rewrites
autoCloseMarkdownto matchpackages/comark/SPEC/auto-close.md(links/images, nested emphasis, math, HTML, setext, tildes, streaming trailing-openers) while keeping an O(n) scanner. Incomplete markdown heals as block structure (full document) plus inline syntax (last line only).Why
Streaming AI output still needed more complete CommonMark/GFM healing than 0.6.2 (placeholder links, nested markers, space-flanked openers, setext guards)
checkout
packages/comark/SPEC/auto-close.mdfor the final behavior