On Issue 1, this isn’t a Cursor bug, it’s expected upstream VS Code behavior. Markdown preview (both the inline Preview | Markdown and the side Markdown: Open Preview) is implemented as a webview, not a text editor, so it doesn’t provide a DocumentSymbolProvider. Because of that, the Outline pane correctly says it can’t build an outline for the active editor. If you open the same file in plain VS Code and switch to preview, Outline will also go empty. For Outline to work in preview modes, VS Code would need a separate outline provider registration, which neither VS Code nor Cursor has.
Workaround: keep them separate, use the raw editor for Outline navigation, and preview side-by-side.
On Issue 2, this is more interesting and might be Cursor-specific. But to take action, we need a concrete repro:
A minimal .md file where it happens (you can attach it here).
Which heading you click and where it scrolls instead (a before and after screenshot or a short screencast).
Please also re-check the same file in plain VS Code 1.105.1. If navigation is correct there, it’s clearly a regression on our side.
Once you send it, I’ll reproduce it and file a ticket.
Issue 1 - yeah figured it was VS Code behavior. I know the implementation is different, but a markdown outline would still be very useful. Anyway, I understand it’s out of your hands.
Issue 2 - Haha, now I’m unable to repro this behavior (ofc). Perhaps it was some transient local state. I’ll keep an eye out for this over next few days and message back, else I can just delete issue 2 from my above post.
Thanks for your quick and helpful replies @deanrie
On Issue 1, I agree an Outline in preview modes would be helpful. Can you create a feature request for it? Just a heads up, it’s not trivial to implement since preview is a webview and it needs a separate outline provider registration, but we’ll take a look.
On Issue 2, if you can reproduce it again, please drop the .md file here and a short screencast showing you clicking the heading and where it scrolls to. With that repro, I can check locally and file a ticket if it’s confirmed. I’ll keep the thread open for now.