-
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
065f65f
commit e96b915
Showing
6 changed files
with
13 additions
and
44 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 |
---|---|---|
|
@@ -244,26 +244,26 @@ A prebuilt version of highlight.js bundled with many common languages is hosted | |
|
||
```html | ||
<link rel="stylesheet" | ||
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.0/styles/default.min.css"> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.0/highlight.min.js"></script> | ||
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.1/styles/default.min.css"> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.1/highlight.min.js"></script> | ||
<!-- and it's easy to individually load additional languages --> | ||
<script charset="UTF-8" | ||
src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.0/languages/go.min.js"></script> | ||
src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.1/languages/go.min.js"></script> | ||
``` | ||
|
||
**jsdelivr** ([link](https://www.jsdelivr.com/package/gh/highlightjs/cdn-release)) | ||
|
||
```html | ||
<link rel="stylesheet" | ||
href="//cdn.jsdelivr.net/gh/highlightjs/[email protected].0/build/styles/default.min.css"> | ||
<script src="//cdn.jsdelivr.net/gh/highlightjs/[email protected].0/build/highlight.min.js"></script> | ||
href="//cdn.jsdelivr.net/gh/highlightjs/[email protected].1/build/styles/default.min.css"> | ||
<script src="//cdn.jsdelivr.net/gh/highlightjs/[email protected].1/build/highlight.min.js"></script> | ||
``` | ||
|
||
**unpkg** ([link](https://unpkg.com/browse/@highlightjs/cdn-assets/)) | ||
|
||
```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> | ||
``` | ||
|
||
**Note:** *The CDN-hosted `highlight.min.js` package doesn't bundle every language.* It would be | ||
|
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
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": "10.4.0", | ||
"version": "10.4.1", | ||
"author": { | ||
"name": "Ivan Sagalaev", | ||
"email": "[email protected]" | ||
|