Closed sant527 closed 3 years ago
[I'm not the developer, I'm just a user.]
Code Blocks uses the highlight.js javascript library to do the actual parsing. Syntax errors can be addressed by the folks who maintain that library. Right now, they are dependent on whoever contributed the module for any particular language to maintain that language. You might volunteer.
I found a syntax error in how Code Blocks handles VIM files -- it highlights keywords even when they are part of comment text. I have a note in to the highlight.js folks just this morning asking how I might contribute to fixing that. I have no idea when I'll hear back.
In any case, the syntax issues come from the highlight.js library, not Code Blocks.
I hope this helps, August
.
From the README:
If you'd like to see Code Blocks update or fix support for an existing language:
- Check if the latest version of highlight.js already includes the update. If it does, submit a PR to this repository that bumps the highlight.js version in
package.json
.- If highlight.js does not yet include the update, please submit an issue on their issue tracker.
I have few linux commands and code blocks for google docs is not showing the syntax properly
What i am getting in google docs
what i am expecting or what i get in sublime text: