question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

VSCode syntax highlighter

See original GitHub issue

Question

Description How can I enable syntax highlighting for .mdx files in VSCode?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

10reactions
mrmartineaucommented, Jun 13, 2018

@mhemrg I added the below snippet to my VS Code settings so that it uses the markdown language syntax highlighting, this doesn’t work properly because the “React” bits are not highlighted properly, but at least it’s much better.

"files.associations": {
  "*.mdx": "markdown"
}
2reactions
TimPetricolacommented, Jun 13, 2018

There is an open issue on mdx repo for that: https://github.com/mdx-js/mdx/issues/119

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting up code syntax highlighting using the Visual Studio ...
VS Code allows you to check semantic tokens in its code editor. To display them, open the VS Code Command Palette, search “Inspect...
Read more >
Set language for syntax highlighting in Visual Studio Code
Press Ctrl + K M and then type in (or click) the language you want. Alternatively, to access it from the command palette,...
Read more >
Adding Custom Syntax Highlighting to a Theme in VSCode
VSCode Themes are a quick way to update the color scheme and syntax highlighting of your code, but you might find your favorite...
Read more >
Create Custom Syntax Highlighting in VS Code - YouTube
... I will show you how to create custom syntax highlighting for your own programming language which is not detected by Visual Studio...
Read more >
The RDFox Syntax Highlighting VS Code Extension
The RDFox Syntax Highlighting VS Code Extension · It also adds a set of icons to help you organise and navigate your project...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found