rouge
rouge copied to clipboard
razor (.NET) syntax
The name of the language razor See: https://docs.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-5.0
Implementation in other libraries Don't know what implementation they use, but GitHub has support for it. GitLab uses rouge (and has no highlighting for razor at all).
Additional context It is similar (if not the same) to cshtml. Partial support for that was done here: https://github.com/rouge-ruby/rouge/issues/873, simply by treating cshtml as html. Maybe that could be done for razor temporarily as well.