Inconsistent syntax highlighting for C#

In the note, I have inserted a block of code in C#. When I used the syntax

``` c#
Here C# code block

the syntax highlighting worked in edit mode, but did not work in read mode. When I changed c# to cs, syntax highlighting works in both modes.

``` cs
Here C# code block

This is not a big issue, just a minor inconvenience. Presumably, this is a minor inconsistency in the Obsidian code.

Screenshot 2024-09-23 at 16.19.21

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


Also, keep in mind:

https://help.obsidian.md/Editing+and+formatting/Basic+formatting+syntax#Code+blocks

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