You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
According to the PrismJS website, the valid "languages" for C# code are csharp, cs, and dotnet. When editing a markdown file with a cs or dotnet codeblock, syntax highlighting is not applied.
To Reproduce
Steps to reproduce the behavior:
Create a new markdown file.
Add a code fence with the language as cs.
Add some valid content to the code fence.
Notice how syntax highlighting is not applied.
Change code fence language to csharp.
Notice how syntax highlighting applies.
Expected behavior
Using any of csharp, cs, or dotnet should result in the same syntax highlighting.
Screenshots cs csharp dotnet
The text was updated successfully, but these errors were encountered:
Describe the bug
According to the PrismJS website, the valid "languages" for C# code are
csharp
,cs
, anddotnet
. When editing a markdown file with acs
ordotnet
codeblock, syntax highlighting is not applied.To Reproduce
Steps to reproduce the behavior:
cs
.csharp
.Expected behavior
Using any of
csharp
,cs
, ordotnet
should result in the same syntax highlighting.Screenshots
cs
csharp
dotnet
The text was updated successfully, but these errors were encountered: