We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3503654 commit 7d74a67Copy full SHA for 7d74a67
cshtml-razor.js
@@ -101,6 +101,13 @@ function hljsDefineCshtmlRazor(hljs) {
101
end: "}",
102
contains: [hljs.QUOTE_STRING_MODE, 'self']
103
};
104
+ var razor_comment = hljs.COMMENT(
105
+ '@\\*',
106
+ '\\*@',
107
+ {
108
+ relevance: 10
109
+ }
110
+ );
111
var razor_inline_expresion = {
112
begin: "@[a-zA-Z]+",
113
returnBegin: true,
@@ -340,6 +347,7 @@ function hljsDefineCshtmlRazor(hljs) {
340
347
razor_try_block,
341
348
razor_escape_at,
342
349
razor_text_block,
350
+ razor_comment,
343
351
razor_parentheses_block,
344
352
{
345
353
className: 'meta',
0 commit comments