Agent suggestions
Public previewDescription
When viewing a Markdown document in Markdown Preview mode, have the Outline view display the table of contents exactly the same way it already does in Text Editor mode and Markdown Editor mode. It currently instead displays "The active editor cannot provide outline information."
This feature was previously requested in May 2026 but only got 16 of the 20 required votes: #316113
So I'm creating this new issue to try again to get 20 votes, because this is really important for navigating long documents when using VS Code for reading Markdown (like the many Markdown documents that LLM's create).
Note that this feature was recently provided (literally last week) for Markdown Editor mode: #328567
I tried using Markdown Editor mode, but it is not suitable because I want to basic viewing things like scroll downwards and upwards with the arrow keys or with space and shift+space, and Markdown Editor doesn't support any of those when in non-edit mode. In non-edit mode, pressing any navigation key just triggers a visual "shine" effect on the lock/edit toggle in the top-right corner. So it is broken as a basic viewer for navigating and reading.
Activity
michael1006 commentedon Oct 28, 2026
Tushar Sadhwani (@tusharsadhwani) Alberto Fabbri (@AlbertoFabbri93) Lucas Parzianello (@lucaspar) voidexpr Chloe Lee (@chloelee767) festoney8 (@festoney8) Peilin Li (@Ross-Li)
You all upvoted the same issue #316113 but it didn't get to 20 votes. Would you mind upvoting this one to try to get to 20? Thank you!
michael1006 commentedon Oct 28, 2026
Matsuyanagi (@Matsuyanagi) Dao-you (@Dao-you) The 99's Puppycat (@huyhoang160593) Victor L. (@Atreyu-94) John Veness (@JohnVeness)
You all upvoted the similar issue #328567 -- if you are interested in this one as well, would you mind upvoting so this one can get to 20? Thank you!
westurner commentedon Nov 23, 2026
Which part of the codebase needs to be changed for this feature to be implemented?
extensions/markdown-language-features/src/test/markdownEditorNavigation.test.ts97212c3#diff-c0f7698e902aaceede41ac2557b3bdd1cd66cd5904978d6f5b109dfe19b804bdwesturner commentedon Nov 23, 2026
Is there another issue for Ctrl-F?
michael1006 commentedon Nov 23, 2026
Wes Turner (@westurner) I don't know if the feature ever "already worked fine", but I haven't seen it.
And the commit you are referring to, that you are asking whether it added it -- 97212c3 -- that added outline view for Markdown Editor mode, not Markdown Preview mode. The main description at the top of this issue describes that addition/commit, where it says "Note that this feature was recently provided (literally last week) for Markdown Editor mode".
I don't know anything about Ctrl+F, I think that would need to be a separate issue if you have one. But on my Mac, Cmd+F seems to be working properly for me for searching text within the Markdown Preview.
westurner commentedon Nov 23, 2026
michael1006 commentedon Nov 23, 2026
Wes Turner (@westurner)
I don't know, but I think that would be a separate issue, not part of outline view. This issue is just about outline view for Markdown Preview mode, not any other issues related to Markdown viewing/editing.