-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Is there C-Language support ? #2460
Comments
We're open to contributions here. The core team doesn't typically develop languages - that's left to the community (who often know the languages much better in any case). C is already built-in (as part of our C++ support)... but we're open to it be improved to be C specific, but someone would need to step forward to do the work, write the tests, etc. Closing as a duplicate of #2146 Also worth noting, for many snippets the C++ highlighting works "just fine" when used on C code. |
This is made more complex because preferably we'd like C and C++ to share a common foundation (they seem very similar parsing wise) where that make sense. So that takes some planning and thought. We don't just need a wholly separate C grammar. |
Thank you for your reply. The reason I want 'C-Language' class name is, I am using the class name string like 'cpp' in my JavaScript code. |
Our C language is just named
|
Really? |
It worked fine! |
Hello,
The highlight.js is very useful.
There is C++ support.
But, I want to use C-Language.
Do you have any plan to support it ?
The text was updated successfully, but these errors were encountered: