-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fc80eb2
commit b8f233c
Showing
5 changed files
with
29 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -328,20 +328,20 @@ see [DIGESTS.md](https://github.com/highlightjs/cdn-release/blob/main/DIGESTS.md | |
##### Common JS <!-- omit in toc --> | ||
|
||
```html | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.0/styles/default.min.css"> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.0/highlight.min.js"></script> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/styles/default.min.css"> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/highlight.min.js"></script> | ||
<!-- and it's easy to individually load additional languages --> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.0/languages/go.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/languages/go.min.js"></script> | ||
``` | ||
|
||
##### ES6 Modules <!-- omit in toc --> | ||
|
||
````html | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.0/styles/dark.min.css"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/styles/dark.min.css"> | ||
<script type="module"> | ||
import hljs from 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.0/es/highlight.min.js'; | ||
import hljs from 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/es/highlight.min.js'; | ||
// and it's easy to individually load additional languages | ||
import go from 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.0/es/languages/go.min.js'; | ||
import go from 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/es/languages/go.min.js'; | ||
hljs.registerLanguage('go', go); | ||
</script> | ||
|
||
|
@@ -353,20 +353,20 @@ hljs.registerLanguage('go', go); | |
##### Common JS <!-- omit in toc --> | ||
|
||
```html | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/[email protected].0/build/styles/default.min.css"> | ||
<script src="https://cdn.jsdelivr.net/gh/highlightjs/[email protected].0/build/highlight.min.js"></script> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/[email protected].1/build/styles/default.min.css"> | ||
<script src="https://cdn.jsdelivr.net/gh/highlightjs/[email protected].1/build/highlight.min.js"></script> | ||
<!-- and it's easy to individually load additional languages --> | ||
<script src="https://cdn.jsdelivr.net/gh/highlightjs/[email protected].0/build/languages/go.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/gh/highlightjs/[email protected].1/build/languages/go.min.js"></script> | ||
``` | ||
|
||
##### ES6 Modules <!-- omit in toc --> | ||
|
||
```html | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/[email protected].0/build/styles/default.min.css"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/[email protected].1/build/styles/default.min.css"> | ||
<script type="module"> | ||
import hljs from 'https://cdn.jsdelivr.net/gh/highlightjs/[email protected].0/build/es/highlight.min.js'; | ||
import hljs from 'https://cdn.jsdelivr.net/gh/highlightjs/[email protected].1/build/es/highlight.min.js'; | ||
// and it's easy to individually load additional languages | ||
import go from 'https://cdn.jsdelivr.net/gh/highlightjs/[email protected].0/build/es/languages/go.min.js'; | ||
import go from 'https://cdn.jsdelivr.net/gh/highlightjs/[email protected].1/build/es/languages/go.min.js'; | ||
hljs.registerLanguage('go', go); | ||
</script> | ||
``` | ||
|
@@ -376,20 +376,20 @@ hljs.registerLanguage('go', go); | |
##### Common JS <!-- omit in toc --> | ||
|
||
```html | ||
<link rel="stylesheet" href="https://unpkg.com/@highlightjs/[email protected].0/styles/default.min.css"> | ||
<script src="https://unpkg.com/@highlightjs/[email protected].0/highlight.min.js"></script> | ||
<link rel="stylesheet" href="https://unpkg.com/@highlightjs/[email protected].1/styles/default.min.css"> | ||
<script src="https://unpkg.com/@highlightjs/[email protected].1/highlight.min.js"></script> | ||
<!-- and it's easy to individually load additional languages --> | ||
<script src="https://unpkg.com/@highlightjs/[email protected].0/languages/go.min.js"></script> | ||
<script src="https://unpkg.com/@highlightjs/[email protected].1/languages/go.min.js"></script> | ||
``` | ||
|
||
##### ES6 Modules <!-- omit in toc --> | ||
|
||
```html | ||
<link rel="stylesheet" href="https://unpkg.com/@highlightjs/[email protected].0/styles/default.min.css"> | ||
<link rel="stylesheet" href="https://unpkg.com/@highlightjs/[email protected].1/styles/default.min.css"> | ||
<script type="module"> | ||
import hljs from 'https://unpkg.com/@highlightjs/[email protected].0/es/highlight.min.js'; | ||
import hljs from 'https://unpkg.com/@highlightjs/[email protected].1/es/highlight.min.js'; | ||
// and it's easy to individually load & register additional languages | ||
import go from 'https://unpkg.com/@highlightjs/[email protected].0/es/languages/go.min.js'; | ||
import go from 'https://unpkg.com/@highlightjs/[email protected].1/es/languages/go.min.js'; | ||
hljs.registerLanguage('go', go); | ||
</script> | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
"syntax" | ||
], | ||
"homepage": "https://highlightjs.org/", | ||
"version": "11.5.0", | ||
"version": "11.5.1", | ||
"author": { | ||
"name": "Ivan Sagalaev", | ||
"email": "[email protected]" | ||
|