|
1 | 1 | # Highlight.js
|
2 | 2 |
|
3 |
| -[](https://travis-ci.org/highlightjs/highlight.js) [](https://greenkeeper.io/) [](https://packagephobia.now.sh/result?p=highlight.js) |
| 3 | +[](https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_UPGRADE.md) |
| 4 | +[](https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_UPGRADE.md) |
| 5 | +[](https://github.com/highlightjs/highlight.js/blob/master/SECURITY.md) |
| 6 | +[](https://www.npmjs.com/package/highlight.js) |
| 7 | +[](https://www.npmjs.com/package/highlight.js) |
| 8 | +[](https://join.slack.com/t/highlightjs/shared_invite/zt-jatdlkw4-h3LdjU5rC23t7aQ6zqoxzw) |
| 9 | + |
| 10 | +--- |
| 11 | + |
| 12 | +### :warning: :warning: Important: Version 9 is no longer supported. :warning: :warning: |
| 13 | + |
| 14 | +Version 9 has reached end-of-support and will receive no future updates. |
| 15 | +It may include security vulnerabiites. Please upgrade to version 10. |
| 16 | + |
| 17 | +Please see [VERSION_10_UPGRADE.md](https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_UPGRADE.md) and perhaps [SECURITY.md](https://github.com/highlightjs/highlight.js/blob/master/SECURITY.md). |
| 18 | + |
| 19 | +--- |
4 | 20 |
|
5 | 21 | Highlight.js is a syntax highlighter written in JavaScript. It works in
|
6 | 22 | the browser as well as on the server. It works with pretty much any
|
7 | 23 | markup, doesn’t depend on any framework, and has automatic language
|
8 | 24 | detection.
|
9 | 25 |
|
| 26 | + |
10 | 27 | ## Getting Started
|
11 | 28 |
|
12 | 29 | The bare minimum for using highlight.js on a web page is linking to the
|
@@ -343,7 +360,7 @@ it can be added manually:
|
343 | 360 | ```html
|
344 | 361 | <script
|
345 | 362 | charset="UTF-8"
|
346 |
| - src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.3/languages/go.min.js"></script> |
| 363 | + src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.4/languages/go.min.js"></script> |
347 | 364 | ```
|
348 | 365 |
|
349 | 366 | **On Almond.** You need to use the optimizer to give the module a name. For
|
|
0 commit comments