Skip to content

Commit 0a2624a

Browse files
committed
update readme
1 parent d571b23 commit 0a2624a

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

README.md

+19-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,29 @@
11
# Highlight.js
22

3-
[![Build Status](https://travis-ci.org/highlightjs/highlight.js.svg?branch=master)](https://travis-ci.org/highlightjs/highlight.js) [![Greenkeeper badge](https://badges.greenkeeper.io/highlightjs/highlight.js.svg)](https://greenkeeper.io/) [![install size](https://packagephobia.now.sh/badge?p=highlight.js)](https://packagephobia.now.sh/result?p=highlight.js)
3+
[![this version](https://badgen.net/badge/this%20version/v9.18.4/red)](https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_UPGRADE.md)
4+
[![supported](https://badgen.net/badge/supported/no/red)](https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_UPGRADE.md)
5+
[![vulnerabilities](https://badgen.net/badge/vulnerabilities/possible/red)](https://github.com/highlightjs/highlight.js/blob/master/SECURITY.md)
6+
[![latest version](https://badgen.net/npm/v/highlight.js?label=latest)](https://www.npmjs.com/package/highlight.js)
7+
[![beta](https://badgen.net/npm/v/highlight.js/beta)](https://www.npmjs.com/package/highlight.js)
8+
[![slack](https://badgen.net/badge/icon/slack?icon=slack&label&color=pink)](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+
---
420

521
Highlight.js is a syntax highlighter written in JavaScript. It works in
622
the browser as well as on the server. It works with pretty much any
723
markup, doesn’t depend on any framework, and has automatic language
824
detection.
925

26+
1027
## Getting Started
1128

1229
The bare minimum for using highlight.js on a web page is linking to the
@@ -343,7 +360,7 @@ it can be added manually:
343360
```html
344361
<script
345362
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>
347364
```
348365

349366
**On Almond.** You need to use the optimizer to give the module a name. For

0 commit comments

Comments
 (0)