Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

markdown not using emmet

I have included the following in my vs-code user settings:

"emmet.includeLanguages": {
  "vue-html": "html",
  "markdown": "html"
},
"emmet.triggerExpansionOnTab": true,

And would have expected to see emmet working for markdown files as an outcome but I get no suggestions and even if I explicitly press ⌃Space it just comes up with "No Suggestions".

What else is needed to get emmet in Markdown files?

like image 810
ken Avatar asked Apr 21 '18 14:04

ken


People also ask

Why is my Emmet not working in VS Code?

Click on the Settings or press Ctrl+, to open the VS Code Settings. Step 2: Click on the Extensions tab on the left side of the settings. Click on HTML. Step 3: Click on the “Edit in settings:json” hyperlink to edit the settings in JSON format.

How do I enable VS Code Emmet?

Open the VS Code settings (Code → Preferences → Settings) and search for “Emmet Extensions Path”. Click “Add Item”, enter the path to the folder where you've saved the snippets. json file you've created earlier and press “OK”.

Is Emmet included in VS Code?

Emmet is just one of the great web developer features in VS Code. Read on to find out about: HTML - VS Code supports HTML with IntelliSense, closing tags, and formatting.


1 Answers

Okay, I got it working again. It looks like this is the default now in your user settings.

"emmet.excludeLanguages": [
    "markdown"
]

So it will trump the includeLanguages you've defined. Adding the following to my settings caused it to start working again.

"emmet.excludeLanguages": [],
"emmet.includeLanguages": {"markdown": "html"},
like image 83
DerekR Avatar answered Sep 19 '22 06:09

DerekR