-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markdown syntax highlighting not working as expected #220026
Comments
caused by microsoft/vscode-markdown-tm-grammar#162 and #219833 |
I would add for what its worth it seems it is the presence of yaml frontmatter breaks the syntax highlighting in markdown files... |
To give a little more detail on when the bug shows up: it seems the highlighting breaks only when there is more than one key in the YAML header. with only one line in the YAML header, highlighting worksadding the line
|
I can confirm it is fixed in the current latest insiders |
That's odd, I believed I was using the latest version. Checking for updates informs me there are no updates, however now I see there are indeed later commits. I'll wait for the next build, I suppose. |
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines. Happy Coding! |
Quarto extension syntax highlighting has seemingly been affected by this after latest VSCode upgrade: quarto-dev/quarto#501 |
Type: Bug
Syntax highlighting for .md files and .mdx files is not behaving as expected. This is a recent observation in spite of not changing any of my theme or code settings. Unclear if it was introduced during one of the latest releases. The syntax highlighter is not identifying markdown specific things like double asterisks for bold, or backticks for code, or codeblocks between triple backticks. So it seems like the syntax highlighter forgot how to understand markdown?
VS Code version: Code - Insiders 1.92.0-insider (Universal) (34f8428, 2024-07-04T05:50:23.194Z)
OS version: Darwin arm64 23.5.0
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (21)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: