Open N0rdskog opened 1 year ago
Here is a simple way can help you.
Go .../.obsidian/plugins/cm-editor-syntax-highlight-obsidian
Find the file main.js
Add the following code at Line 122
{name: "Glsl", mime: "text/x-csrc", mode: "clike", ext: ["c", "h", "ino"]},
But like vector, matrix types, specific function and variables might not be highlighted correctly...
C renderer
vec3
gl_FragColor
clamp()
Glsl Renderer
vec3
gl_FragColor
clamp()
Would be much appreciated! This plugin is a godsend otherwise.