vscode snippets对于markdown不生效

默认情况下,vscode 没有支持 markdown 的 snippets。

打开 vscode 的 settings.json 文件,添加如下配置:

json

"[markdown]": {
    "editor.unicodeHighlight.ambiguousCharacters": false,
    "editor.unicodeHighlight.invisibleCharacters": false,
    "diffEditor.ignoreTrimWhitespace": false,
    "editor.wordWrap": "on",
    "editor.quickSuggestions": {
        "comments": "on",
        "strings": "on",
        "other": "on"
    }
}