diff --git a/README.md b/README.md index e1510c4..2c482cb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # highlightjs-line-numbers.js [](https://www.npmjs.com/package/highlightjs-line-numbers.js)  -Highlight.js line numbers plugin. +[Highlight.js](https://github.com/highlightjs/highlight.js) line numbers plugin. [DEMO](http://wcoder.github.io/highlightjs-line-numbers.js/) | [SСREENSHOTS](https://github.com/wcoder/highlightjs-line-numbers.js/issues/5) @@ -28,6 +28,8 @@ npm install highlightjs-line-numbers.js ``` +highlightjs-line-numbers.js 2.8.0 is known to work with highlight.js 11.3.1. + ## Usage Download plugin and include file after highlight.js: @@ -41,7 +43,7 @@ Download plugin and include file after highlight.js: Initialize plugin after highlight.js: ```js -hljs.initHighlightingOnLoad(); +hljs.highlightAll(); hljs.initLineNumbersOnLoad(); ```
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: