Skip to content

Commit

Permalink
Updated highlight.js to 11.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshyPHP committed Jan 9, 2022
1 parent 9198e4c commit 8bbcddb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ hljs-loader is a small (3 KB) script that can be added to any webpage to automat
Add this anywhere to your HTML page:

```html
<script async src="https://cdn.jsdelivr.net/gh/s9e/[email protected].26/loader.min.js"
<script async src="https://cdn.jsdelivr.net/gh/s9e/[email protected].27/loader.min.js"
crossorigin="anonymous"
integrity="sha384-UqKMmTNnpepl2w7th+Hp9gMz3sRB/ferD+cvE3aN414s3G6oDsTKZJlGWLjLZBNX"></script>
integrity="sha384-kbY1/pSQCtk//4vKxpfjqohJFtsS0zXSjtpfJkEaICb/5VbwLmAjyFb697PmGM/V"></script>
```


Expand All @@ -17,13 +17,13 @@ Add this anywhere to your HTML page:
No configuration is required but a number of options are available and can be set on the `script` element that loads this script.

```html
<script async src="https://cdn.jsdelivr.net/gh/s9e/[email protected].26/loader.min.js"
<script async src="https://cdn.jsdelivr.net/gh/s9e/[email protected].27/loader.min.js"
crossorigin="anonymous"
data-hljs-observe="body"
data-hljs-options='{"classPrefix":""}'
data-hljs-style="github"
data-hljs-url="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.3.1/build/"
integrity="sha384-UqKMmTNnpepl2w7th+Hp9gMz3sRB/ferD+cvE3aN414s3G6oDsTKZJlGWLjLZBNX"></script>
data-hljs-url="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/"
integrity="sha384-kbY1/pSQCtk//4vKxpfjqohJFtsS0zXSjtpfJkEaICb/5VbwLmAjyFb697PmGM/V"></script>
```

<dl>
Expand Down
2 changes: 1 addition & 1 deletion ext/highlight.js
Submodule highlight.js updated 136 files
2 changes: 1 addition & 1 deletion loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
options = config['hljsOptions'],
skip = {'':1},
style = config['hljsStyle'] || 'default',
url = config['hljsUrl'] || 'https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.3.1/build/';
url = config['hljsUrl'] || 'https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/';

// Prepare to highlight all code blocks as soon as possible
if (document.readyState === 'complete')
Expand Down
2 changes: 1 addition & 1 deletion loader.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8bbcddb

Please sign in to comment.