-
Notifications
You must be signed in to change notification settings - Fork 38k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesmarkdownMarkdown support issuesMarkdown support issuesverifiedVerification succeededVerification succeeded
Milestone
Description
Currently, as far as I am aware, the only accepted language identifiers for C# code blocks in the markdown preview are cs and csharp.
Other markdown previewers, like github and gitlab issue trackers, supports a third alternative: c#, as the following:
```csharp
public int M() => 2; //works everywhere
``````c#
public int M() => 2; //doesn't work in vscode markdown preview
```
My feature is request is for vscode to allow the mentioned alternative identifier. I also noticed something strange: the c# identifier works inside the editor, but not in the preview. I'd call this an inconsistency.

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesmarkdownMarkdown support issuesMarkdown support issuesverifiedVerification succeededVerification succeeded