#Does .mdx have syntax support in vs code?

14 messages · Page 1 of 1 (latest)

hazy mural
#

Is this your .mdx file looks like in vs code as the screenshot? How to give JSX part syntax highlighting, and how to have intellisense support? For me, I have to manually type in almost everything in a .mdx file. And how to remove the annoying stylelint warning?

#

Does .mdx have syntax support in vs code?

hazy mural
#

Please ignore stylelint warning question, I switched from vs code built-in stylelint to vs code Stylelint extension, fix the problem.

native imp
warm stirrup
#

@hazy mural Did you find this? I also don't get highlights or any autocomplete. Have the mdx extension installed

hazy mural
warm stirrup
#

Doesn't seem it is highlighted in the docs either

warm stirrup
#

@hazy mural it should work with this vs code setting:

#

But does not on my end, maybe you have more luck 😄

hazy mural
warm stirrup
#

Too bad it doesn't work, it could make the DX so much better

#

Now it feels like typing in the dark