According to the [docs]( Prism ) prismjs seems to already support the zig programming language.
In my testing, it works in Reading mode, but not in Editing mode.
Obsidian uses different mechanisms for code highlighting in Editing mode and Reading mode: Editing mode uses CodeMirror, while Reading mode uses Prism.
1 Like
Same for me!
It seems that no one has written a Zig plugin for Obsidian yet. You can refer to this to write one.