File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ If you're not using a build system and just want to embed this in your webpage:
16
16
<script type =" text/javascript" src =" /path/to/highlight.pack.js" ></script >
17
17
<script type =" text/javascript" src =" /path/to/highlightjs-cshtml-razor/cshtml.js" ></script >
18
18
<script type =" text/javascript" >
19
- hljs .registerLanguage (' cshtml-razor' , window .hljsDefineRazorCshtml );
19
+ hljs .registerLanguage (' cshtml-razor' , window .hljsDefineCshtmlRazor );
20
20
hljs .initHighlightingOnLoad ();
21
21
</script >
22
22
```
@@ -25,9 +25,9 @@ If you're using webpack / rollup / browserify / node:
25
25
26
26
``` javascript
27
27
var hljs = require (' highlightjs' );
28
- var hljsDefineRazorCshtml = require (' highlightjs-cshtml-razor' );
28
+ var hljsDefineCshtmlRazor = require (' highlightjs-cshtml-razor' );
29
29
30
- hljsDefineRazorCshtml (hljs);
30
+ hljsDefineCshtmlRazor (hljs);
31
31
hljs .initHighlightingOnLoad ();
32
32
```
33
33
You can’t perform that action at this time.
0 commit comments