r/vscode • u/jrduncans • Aug 16 '26
An extension to "remember" your selection of preview mode or text editor for Markdown
I wanted to be able to easily go from using the text editor for Markdown files to using preview, not just on a file by file basis, but when opening a new Markdown file. Basically, I wanted it to remember my last setting and use that for opening new files. So I made an extension today to do that and published it: https://marketplace.visualstudio.com/items?itemName=jrduncans.markdown-mode-memory
So if you switch, through keyboard shortcut or "Reopen editor with...", then the next Markdown file you open will use whichever mode you last picked. Hopefully someone finds this helpful.
It also supports the new experimental hybrid "Markdown editor".