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

Fix code highlighting for languages with non-alphanumeric characters #2092

Merged
merged 2 commits into from
Feb 18, 2025

Conversation

jonatanklosko
Copy link
Member

Currently ```c++ is not highlighted, because + does not match \w in the regex. We could allow list +, but I relaxed the regex to pick up any class name.

Copy link

github-actions bot commented Feb 18, 2025

@josevalim josevalim merged commit abe1c66 into elixir-lang:main Feb 18, 2025
5 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants