Skip to content
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

Broken syntax highlighting #463

Closed
4 tasks done
Reeceeboii opened this issue Aug 4, 2024 · 4 comments
Closed
4 tasks done

Broken syntax highlighting #463

Reeceeboii opened this issue Aug 4, 2024 · 4 comments
Labels
👯 no/duplicate Déjà vu 👎 phase/no Post cannot or will not be acted on

Comments

@Reeceeboii
Copy link

Initial checklist

Affected packages and versions

MDX v1.8.9

Link to runnable example

No response

Steps to reproduce

Open VSCode (v1.92.0), with MDX extension (v1.8.9), and the syntax highlighting on MDX files is broken.

This was working yesterday and appears to have suddenly become broken when I updated VSCode to the latest version.

Syntax highlighting works fine up until the closing 3 dashes --- at the end of the frontmatter, and from then on out it's broken:

image
Note how the top --- is correctly orange, but the bottom --- is not.

All text after this appears red when it was previously white:

image

I have done the typical extension uninstall/reinstall, also restarted my machine and VSCode since encountering this issue, so it's not that.

Expected behavior

The syntax highlighting works.

Actual behavior

The syntax highlighting doesn't work.

Runtime

Node v20

Package manager

npm v10

OS

Windows

Build and bundle tools

Other (please specify in steps to reproduce)

@github-actions github-actions bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Aug 4, 2024
@ChristianMurphy
Copy link
Member

Duplicate of wooorm/markdown-tm-language#10

@ChristianMurphy ChristianMurphy closed this as not planned Won't fix, can't repro, duplicate, stale Aug 4, 2024

This comment has been minimized.

Copy link
Contributor

github-actions bot commented Aug 4, 2024

Hi! Thanks for taking the time to contribute!

Because we treat issues as our backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn’t an exact duplicate but is closely related.

Thanks,
— bb

@github-actions github-actions bot added 👎 phase/no Post cannot or will not be acted on and removed 🤞 phase/open Post is being triaged manually labels Aug 4, 2024
@Reeceeboii
Copy link
Author

wooorm/markdown-tm-language#10 (comment) solved this issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👯 no/duplicate Déjà vu 👎 phase/no Post cannot or will not be acted on
Development

No branches or pull requests

2 participants