-
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
c5b6ad5
commit 048ba65
Showing
4 changed files
with
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -370,20 +370,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.11.0/styles/default.min.css"> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.0/highlight.min.js"></script> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/default.min.css"> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.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.11.0/languages/go.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.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.11.0/styles/dark.min.css"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/dark.min.css"> | ||
<script type="module"> | ||
import hljs from 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.0/es/highlight.min.js'; | ||
import hljs from 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.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.11.0/es/languages/go.min.js'; | ||
import go from 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/es/languages/go.min.js'; | ||
hljs.registerLanguage('go', go); | ||
</script> | ||
|
||
|
@@ -395,20 +395,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> | ||
``` | ||
|
@@ -418,20 +418,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.11.0", | ||
"version": "11.11.1", | ||
"author": "Josh Goebel <[email protected]>", | ||
"contributors": [ | ||
"Josh Goebel <[email protected]>", | ||
|