Skip to content

Commit

Permalink
highlightAll
Browse files Browse the repository at this point in the history
  • Loading branch information
romanresh committed Apr 16, 2021
1 parent 42f3e5c commit a328093
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ Simply load the module after loading Highlight.js. You'll use the minified versi
<script type="text/javascript" src="/path/to/highlight.min.js"></script>
<script type="text/javascript" src="/path/to/highlightjs-cshtml-razor/dist/cshtml-razor.min.js"></script>
<script>
hljs.registerLanguage('cshtml-razor', window.hljsDefineCshtmlRazor);
hljs.initHighlightingOnLoad();
hljs.highlightAll();
</script>
```

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "highlightjs-cshtml-razor",
"version": "2.1.0",
"version": "2.1.1",
"description": "highlight.js syntax definition for ASP.NET Razor CSHTML language",
"main": "src/languages/cshtml-razor.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<script src="../../../build/languages/css.min.js"></script>
<script type="text/javascript" src="../dist/cshtml-razor.min.js"></script>
<script type="text/javascript">
hljs.initHighlightingOnLoad();
hljs.highlightAll();
</script>
</head>
<body>
Expand Down

0 comments on commit a328093

Please sign in to comment.