No syntax highlighting on HLSL code

Hello! I see HLSL and GLSL support in the PrismJS list:
https://prismjs.com/#supported-languages

However I don’t get them highlighted in Obsidian. Is that expected, or is mine bugging out?

Switch to Reading view maybe?

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

source: Basic formatting syntax - Obsidian Help

1 Like

Oh! Can’t believe I didn’t try it, works perfectly. Thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.