Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to automatically open markdown in preview #54776

Closed
abdhx opened this issue Jul 21, 2018 · 8 comments
Closed

Option to automatically open markdown in preview #54776

abdhx opened this issue Jul 21, 2018 · 8 comments
Assignees
Labels
feature-request Request for new features or functionality markdown Markdown support issues

Comments

@abdhx
Copy link

abdhx commented Jul 21, 2018

Add a setting markdown.defaultView to automatically open .md files in preview mode instead of editing mode.
This is so useful, because the most of time, I just want to read the .md files.

@vscodebot
Copy link

vscodebot bot commented Jul 21, 2018

@vscodebot vscodebot bot added the markdown Markdown support issues label Jul 21, 2018
@mjbvz mjbvz added the feature-request Request for new features or functionality label Jul 23, 2018
@jcgerhard
Copy link

This would be a perfect solution! I am using vscode for nearly everything day in day out. And I built a private wiki/knowledgebase based on markdown files. An option like markdown.defaultView would be a perfect solution! Most of the times I want to read-only my documents in fullsize view without the need to see the source code! As a reference you can check typora.io and/or notable app where this feature is amazingly implemented.

@evanharmon1
Copy link

I definitely agree. This seems like a clear win to have an option for this.

@JudyLipinski
Copy link

We use VSCode to teach Web Dev and Python and love to use markdown files for instructions. It would be incredibly helpful to have an option like markdown.defaultView to help those who are a bit less technical be distracted by the edit mode.

@jcgerhard
Copy link

Any news on this? Seems like this request is completely ignored. I am very afflicted because this simple tiny feature would make all other note-taking tools obsolete! Hey Devs...pull yourself together...pleeeaaase...and add this feature! I think it wouldn‘t be very hard to implement.

@microsoft microsoft locked as off-topic and limited conversation to collaborators Oct 6, 2019
@mjbvz
Copy link
Contributor

mjbvz commented Oct 6, 2019

Locking as none of the comments are anything but fancy +1s

If you are actually interested in working on this feature and have ideas on how to implement it, please let me know (just open a separate issue and reference this one)

@mjbvz
Copy link
Contributor

mjbvz commented Nov 11, 2019

I have checked in prototype that allows you to set the markdown preview as the default editor: #84520 We are looking for the community to drive the testing and polishing of this feature so that it can ship, so please follow up on #84520 if you wish to contribute

@mjbvz
Copy link
Contributor

mjbvz commented Apr 6, 2022

This has actually be possible for a while. To change this, you can configure the default editor for .md files (or whatever other markdown file extension you wish). Here's an example setting:

"workbench.editorAssociations": {
	"*.md": "vscode.markdown.preview.editor"
}

Use the reopen with command to switch back to the standard text editor

@mjbvz mjbvz closed this as completed Apr 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality markdown Markdown support issues
Projects
None yet
Development

No branches or pull requests

5 participants