File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,7 @@ Simply load the module after loading Highlight.js. You'll use the minified versi
1818<script type =" text/javascript" src =" /path/to/highlight.min.js" ></script >
1919<script type =" text/javascript" src =" /path/to/highlightjs-cshtml-razor/dist/cshtml-razor.min.js" ></script >
2020<script >
21- hljs .registerLanguage (' cshtml-razor' , window .hljsDefineCshtmlRazor );
22- hljs .initHighlightingOnLoad ();
21+ hljs .highlightAll ();
2322 </script >
2423```
2524
Original file line number Diff line number Diff line change 11{
22 "name" : " highlightjs-cshtml-razor" ,
3- "version" : " 2.1.0 " ,
3+ "version" : " 2.1.1 " ,
44 "description" : " highlight.js syntax definition for ASP.NET Razor CSHTML language" ,
55 "main" : " src/languages/cshtml-razor.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change 1616 < script src ="../../../build/languages/css.min.js "> </ script >
1717 < script type ="text/javascript " src ="../dist/cshtml-razor.min.js "> </ script >
1818 < script type ="text/javascript ">
19- hljs . initHighlightingOnLoad ( ) ;
19+ hljs . highlightAll ( ) ;
2020 </ script >
2121 </ head >
2222 < body >
You can’t perform that action at this time.
0 commit comments