dotnet / dotnet/AspNetCore.Docs

improper syntax highlighting of example razor code

Open
#34,192 0 comments 0 reactions 1 assignee Claimed by @tdykstra View on GitHub
:watch: Not Triaged aspnet-core/svc mvc/subsvc Source - Docs.ms
Dominant language
C#
Stars
13.1k
Forks
24.6k
Avg merge
1d 2h
Merged PRs (30d)
109

Description

### Description

The example cshtml code block in the #conditional-attribute-rendering section has improper syntax highlighting. The improper highlighting is present in both light mode and dark theme.

### Page URL

https://learn.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-9.0#conditional-attribute-rendering

### Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/mvc/views/razor.md

### Document ID

a0b3b70a-3b39-1b5f-a4ce-c41bd2d6b044

### Article author

@tdykstra

[Related Issues](https://github.com/dotnet/AspNetCore.Docs/issues?q=is%3Aissue+is%3Aopen+a0b3b70a-3b39-1b5f-a4ce-c41bd2d6b044)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.