Describe the Bug
all “details+summary” tags in my MD files are displayed expanded.
Steps to Reproduce
+<details>
+<summary>Commit Table</summary>
+
| SHA | Date/time | Repo(s) | Lines added | Lines removed | Files changed |
| --- | --- | --- | ---: | ---: | ---: |
| `eb2fb85` | 2026-06-13 17:53:57 EDT | xxx | 52 | 0 | 1 |
@@ -3196,6 +3199,8 @@ Business-hours rows use local author time from 08:00 through 16:59. After-hours
| `3cef42a` | 2026-05-22 18:38:10 EDT | xxx | 44 | 0 | 2 |
| `6332efe` | 2026-05-22 18:38:10 EDT | xxx | 0 | 2 | 2 |
+</details>
Expected Behavior
They should be collapsed
Operating System
MacOS
Version Information
3.7.39 xxxx
Does this stop you from using Cursor
No - Cursor works, but with this issue
Thanks for the report. This is a known limitation of the in-editor Preview toggle (the Preview/Markdown buttons in the editor toolbar) - it uses a more limited renderer that doesn’t handle collapsible <details>/<summary> blocks (and a few other things like images and Mermaid diagrams) the way the dedicated Markdown preview does.
Workaround: open the file and use the dedicated Markdown preview with Cmd+Shift+V (or Command Palette → “Markdown: Open Preview”, or “Open Preview to the Side” with Cmd+K V). Your <details> blocks render collapsed by default there, as expected.
Our team is aware of the gaps in the in-editor preview and is working on improving it. If <details> still shows expanded under Cmd+Shift+V, reply with the raw .md (the exact lines around the <details> block) and I’ll dig in further.