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
I second this. Preview feature is supposed to go with the language mode instead of file extensions. BTW, I think it's also Okay to preview txt files even if it's recognized as plain text, just like what we have in Atom.
Issue microsoft#7638
**Bug**
Open a `.txt` file containing markdown in VSCode. Select the editor language as `markdown` and the highlighing kicks in, but there is no preview button for the file.
**Fix**
Base display of the markdown preview button on `editorLangId` instead of `resourceLangId`.
Closesmicrosoft#7638
mjbvz
added a commit
to mjbvz/vscode
that referenced
this issue
Sep 22, 2016
Issue microsoft#7638
**Bug**
Open a `.txt` file containing markdown in VSCode. Select the editor language as `markdown` and the highlighing kicks in, but there is no preview button for the file.
**Fix**
Base display of the markdown preview button on `resourceScheme` instead of `resourceLangId`.
Closesmicrosoft#7638
Steps to Reproduce:
.txt
, only if not.md
.Markdown
.Now there is no
Preview
button to switch to Markdown Preview view.The text was updated successfully, but these errors were encountered: