Skip to content

Streaming and committed markdown list rendering can diverge #346

Description

@Juliusolsson05

Problem

A saved debug note reports weird bullet/list rendering, but the captured HTML contains valid list DOM. This points to visual styling or streaming-vs-committed markdown differences rather than markdown parse failure.

Evidence

Bundle:

~/.config/agent-code/debug-bundles/manual/2026-06-14T13-59-16-931-4757ae44

  • Note reports weird bullet/list rendering.
  • html-clean.html contains valid <ol> / <li> structure for the visible numbered list.

Suspected Paths

  • Streaming markdown uses remarkGfm plus remarkBreaks.
  • Committed markdown uses GFM through Prose.
  • .prose-theme manually restores list styles and indentation.

Relevant paths:

  • src/renderer/src/features/feed/lib/remark-plugins.ts
  • src/renderer/src/features/feed/ui/markdown/Prose.tsx
  • src/renderer/src/styles.css

Expected

Streaming and committed prose should render list indentation and markers consistently. If the original weirdness was raw compaction XML being rendered as markdown, fixing compaction tagging may resolve part of this symptom.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions