Obsidian doesn't color C/C++ macro in code block

What we got (obsidian):
image

Expected (vscode):

Version 1.7.7 Desktop

Could be theme related as this is from my valut with Default/Dark theme…

… but now I see that #define is not properly colored.

Cheers, Marko :nerd_face:

The supported languages are linked here, but keep in mind:

Source mode and Live Preview do not support PrismJS, and may render syntax highlighting differently.

I’d try one of these:

  • C - c
  • C# - csharp, cs, dotnet
  • C++ - cpp

https://prismjs.com/#supported-languages