Add C to the list of languages for pre tags
Site Bugs / Suggestions
1
Posts
1
Posters
4
Views
1
Watching
-
I know we have C++ and that works for C, but there's one issue that's always bothered me about it. When you're writing C code, and it says C++, it can lead to a WTF moment of "why didn't you do it with a function overload instead of taking a void*?" for example. C is a much more permissive language, and a lot of things you do routinely in it are completely WRONG in C++. So having a little disambiguation in the header of the pre block would be helpful, even if it was just an alias for the C++ highlighting.
Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix