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
Support <details>/<summary> HTML tags in markdown rendering #10259
area:agentAgent workflows, conversations, prompts, cloud mode, and AI-specific UI.area:editor-notebooksEditors, notebooks, markdown rendering, LSP, and code display.enhancementNew feature or request.ready-to-specThe issue is ready for a product and technical spec.repro:highThe report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.warp:auto-triage-review
This appears to be a feature gap rather than an environment-specific bug. The provided snippet is enough to route the request for markdown-renderer support; no additional repro details are needed for initial triage.
Maintainer details
I concluded that enhancement request to add interactive <details>/<summary> collapsible sections to Warp-rendered markdown..
Triage
This is an enhancement request for GFM-style collapsible sections in Warp-rendered markdown.
Reproducibility: High. The provided <details>/<summary> snippet is a minimal, deterministic input, and the current parser/rendering model does not appear to support collapsible containers.
Likely implementation area:
crates/markdown_parser/src/lib.rs defines the current FormattedTextLine variants, which cover headings, lists, code blocks, tables, images, etc., but not a collapsible/details container.
crates/markdown_parser/src/markdown_parser.rs parses line-based markdown blocks and only treats a narrow set of inline HTML specially, such as HTML entities and <u>/</u> underline markers; other HTML tags are preserved as plain text.
crates/markdown_parser/src/html_parser.rs supports a limited imported-HTML subset and flattens unsupported elements to their children, so <details> and <summary> would not retain container/expanded-state semantics there either.
crates/editor/src/content/markdown.rs maps formatted text into fixed editor buffer block styles and HTML serialization; a real implementation would likely need a new collapsible block/container representation plus renderer interaction/state handling.
Duplicate check: I searched open issues repository-wide and recent closed issues. The closest open issues are broader markdown-rendering parity requests such as #9024 and older markdown gaps such as #4711, but I did not find two existing issues that specifically request <details>/<summary> collapsible sections, so this should not be marked duplicate.
This is my automated analysis and may be incorrect. A maintainer will verify the details.
This issue has been labeled ready-to-spec and is open for contributions in the form of a product or technical spec. If you'd like to draft one, feel free to open a pull request with the spec under specs/. You can also comment @oz-agent on this issue to have the bot draft the spec automatically.
While splitting up my related bulk request #13652 into per-feature issues (per @kevinyang372's guidance there), I did a better search of GitHub and found this issue.
**Current behavior** (verified on today's shipped macOS build)
markdown nested inside the block (lists, headings) still renders normally
everything is always visible: no toggle, no click target, no disclosure indicator
Minimal test snippet:
<details>
<summary>Click to expand</summary>
- hidden item one
- hidden item two
</details>
I've now subscribed to the spec PR, and I'm motivated to help get the feature shipped, so feel free to tag me in. -- This issue doesn't have the importance configured, but details/summary are a 5 can't live without it for me!
It looks like the other PRs have gone dormant, or gotten closed. So I plan to pick this back up from the latest version with the final feedback applied.
area:agentAgent workflows, conversations, prompts, cloud mode, and AI-specific UI.area:editor-notebooksEditors, notebooks, markdown rendering, LSP, and code display.enhancementNew feature or request.ready-to-specThe issue is ready for a product and technical spec.repro:highThe report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.warp:auto-triage-review
Activity
warp-for-oss commentedon May 6, 2026
@shishirsharma
Here's what I found while triaging this issue:
This appears to be a feature gap rather than an environment-specific bug. The provided snippet is enough to route the request for markdown-renderer support; no additional repro details are needed for initial triage.
Maintainer details
I concluded that enhancement request to add interactive
<details>/<summary>collapsible sections to Warp-rendered markdown..Triage
This is an enhancement request for GFM-style collapsible sections in Warp-rendered markdown.
Reproducibility: High. The provided
<details>/<summary>snippet is a minimal, deterministic input, and the current parser/rendering model does not appear to support collapsible containers.Likely implementation area:
crates/markdown_parser/src/lib.rsdefines the currentFormattedTextLinevariants, which cover headings, lists, code blocks, tables, images, etc., but not a collapsible/details container.crates/markdown_parser/src/markdown_parser.rsparses line-based markdown blocks and only treats a narrow set of inline HTML specially, such as HTML entities and<u>/</u>underline markers; other HTML tags are preserved as plain text.crates/markdown_parser/src/html_parser.rssupports a limited imported-HTML subset and flattens unsupported elements to their children, so<details>and<summary>would not retain container/expanded-state semantics there either.crates/editor/src/content/markdown.rsmaps formatted text into fixed editor buffer block styles and HTML serialization; a real implementation would likely need a new collapsible block/container representation plus renderer interaction/state handling.Duplicate check: I searched open issues repository-wide and recent closed issues. The closest open issues are broader markdown-rendering parity requests such as #9024 and older markdown gaps such as #4711, but I did not find two existing issues that specifically request
<details>/<summary>collapsible sections, so this should not be marked duplicate.This is my automated analysis and may be incorrect. A maintainer will verify the details.
Powered by Oz
warp-for-oss commentedon May 6, 2026
This issue has been labeled
ready-to-specand is open for contributions in the form of a product or technical spec. If you'd like to draft one, feel free to open a pull request with the spec underspecs/. You can also comment@oz-agenton this issue to have the bot draft the spec automatically.peicodes commentedon May 6, 2026
This is more hairy than it sounds because we would need to parse these tags. A spec is recommended.
spec: address oz-for-oss round-1 review (warpdotdev#10259)
spec: address oz-for-oss round-2 review (warpdotdev#10259)
spec: address oz-for-oss round-N review (warpdotdev#10259)
spec: address oz-for-oss round-4 review (warpdotdev#10259)
fbartho commentedon Jul 14, 2026
While splitting up my related bulk request #13652 into per-feature issues (per @kevinyang372's guidance there), I did a better search of GitHub and found this issue.
**Current behavior** (verified on today's shipped macOS build)
Minimal test snippet:
I've now subscribed to the spec PR, and I'm motivated to help get the feature shipped, so feel free to tag me in. -- This issue doesn't have the importance configured, but details/summary are a 5 can't live without it for me!
docs(specs): retarget details/summary spec from warpdotdev#13652 to w…
fbartho commentedon Aug 25, 2026
It looks like the other PRs have gone dormant, or gotten closed. So I plan to pick this back up from the latest version with the final feedback applied.