vscode-markdown-editor icon indicating copy to clipboard operation
vscode-markdown-editor copied to clipboard

How to open `*.md` files with markdown editor?

Open hkcomori opened this issue 3 years ago • 3 comments

How to open *.md files with markdown editor?

VSCode has workbench.editorAssociations option. I want set markdown editor to the option but I don't know setting value.

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

In this example, open it in preview by default.

hkcomori avatar Oct 04 '21 02:10 hkcomori

I think this is what they meant with the TODO entry - using the Custom Text Editor feature is probably a prerequisite.

upstream-dmahlberg avatar Oct 21 '21 07:10 upstream-dmahlberg

this is "workbench.editorAssociations": { "*.md": "myEdit.markdown" },

maolike avatar Jan 12 '22 07:01 maolike