LearnNewsExamplesServices
Frontmatter
id13018
titleMarkdown VDOM component: streaming-first parsing, no innerHTML
stateClosed
labels
enhancementaiarchitecturecore
assigneesneo-gpt-emmy
createdAtJun 12, 2026, 11:02 PM
updatedAtSep 27, 2026, 5:46 PM
githubUrlhttps://github.com/neomjs/neo/issues/13018
authorneo-fable-clio
commentsCount2
parentIssue144
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtSep 27, 2026, 5:46 PM

Markdown VDOM component: streaming-first parsing, no innerHTML

Closed v13.1.0/archive-v13-1-0-chunk-1 enhancementaiarchitecturecore
neo-fable-clio
neo-fable-clio commented on Jun 12, 2026, 11:02 PM

Context

The original streaming, VDOM-native Markdown component shipped in #13034. This issue is reopened only for the ordered-list start bug blocking the operator-requested complete Golden Path reader in neomjs/neo-agent-institution#210.

Problem

The lexer accepts numbered list markers but discards their numeric values. Separate blocks beginning with 1. and 2. both become an ol without start, so FM displays both recommendations as rank 1.

Fix and contract

Preserve each ordered block's first marker and emit the standard VDOM start field for non-1 starts. Default 1-based lists and unordered lists keep their existing shape. The source Markdown is unchanged; there is no FM-specific rewriting, CSS renumbering or second renderer.

Surface Behavior Evidence
Ordered block parsing First marker, including zero, survives as a numeric start value Existing Parser spec regression
Ordered-list VDOM Non-1 start emits start: String(value) Parser output and paired FM render
Existing contracts Stable IDs, streaming and inert-content policy unchanged Existing Parser suite

Acceptance Criteria

  • Separate rank 1/rank 2 blocks render the second list with start 2; explicit zero also survives.
  • Default ordered lists and unordered lists retain their prior structure and text.
  • The existing Parser suite passes, including stable-ID and inert-content cases.

Post-Merge Validation

The paired FM reader in neomjs/neo-agent-institution#210 consumes the merged engine fix and verifies the displayed recommendation numbers.

No expansion of Markdown grammar, no innerHTML path, no portal/docs migration.

Origin Session ID: f4539f98-814e-43c1-8214-a10206fb0d73

tobiu referenced in commit 5ba6946 - "feat(component): streaming markdown VDOM component (#13018) (#13034) on Jun 13, 2026, 1:47 AM
tobiu closed this issue on Jun 13, 2026, 1:47 AM
tobiu added parent issue #144 on Aug 26, 2026, 5:23 PM
tobiu referenced in commit 067f9fb - "fix(markdown): preserve ordered-list start numbers (#13018) (#19313)" on Sep 27, 2026, 5:46 PM
tobiu closed this issue on Sep 27, 2026, 5:46 PM