rouge icon indicating copy to clipboard operation
rouge copied to clipboard

razor (.NET) syntax

Open dorssel opened this issue 4 years ago • 0 comments

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.

dorssel avatar Apr 15 '21 20:04 dorssel