|
2 | 2 | Syntax.js |
3 | 3 |
|
4 | 4 | [](https://twitter.com/intent/tweet?text=Syntax.js%2C%20a%20free%20JavaScript%20syntax%20highlighter&url=https://github.com/williamtroup/Syntax.js&hashtags=javascript,syntax,highlighter) |
5 | | -[](https://www.npmjs.com/package/jsyntax.js) |
6 | | -[](https://www.nuget.org/packages/jSyntax.js/) |
| 5 | +[](https://www.npmjs.com/package/jsyntax.js) |
| 6 | +[](https://www.nuget.org/packages/jSyntax.js/) |
7 | 7 | [](https://github.com/williamtroup/Syntax.js/blob/main/LICENSE.txt) |
8 | 8 | [](https://github.com/williamtroup/Syntax.js/discussions) |
9 | 9 | [](https://www.william-troup.com/) |
10 | 10 | </h1> |
11 | 11 |
|
12 | 12 | > <p align="center">A lightweight, and easy-to-use, JavaScript library for code syntax highlighting!</p> |
13 | | -> <p align="center">v3.0.1</p> |
| 13 | +> <p align="center">v3.1.0</p> |
14 | 14 | <br /> |
15 | 15 |
|
16 | 16 |  |
@@ -163,8 +163,8 @@ Or, you can download the latest zipped up version [here](https://www.william-tro |
163 | 163 | Or, you can also use the following CDN links: |
164 | 164 |
|
165 | 165 | ```markdown |
166 | | -https://cdn.jsdelivr.net/gh/williamtroup/Syntax.js@3.0.1/dist/syntax.min.js |
167 | | -https://cdn.jsdelivr.net/gh/williamtroup/Syntax.js@3.0.1/dist/syntax.js.min.css |
| 166 | +https://cdn.jsdelivr.net/gh/williamtroup/Syntax.js@3.1.0/dist/syntax.min.js |
| 167 | +https://cdn.jsdelivr.net/gh/williamtroup/Syntax.js@3.1.0/dist/syntax.js.min.css |
168 | 168 | ``` |
169 | 169 | <br> |
170 | 170 | <br> |
@@ -209,7 +209,7 @@ Make sure you include the "DOCTYPE html" tag at the top of your HTML, as follows |
209 | 209 | } |
210 | 210 | </div> |
211 | 211 |
|
212 | | -<code data-syntax-language="javascript" data-syntax-options="{ 'showCopyButton': false }" data-syntax-buttons="[ { 'text': 'Button 1', 'onClick': yourJsFunction } ]"> |
| 212 | +<code data-syntax-language="javascript" data-syntax-options="{ 'buttons': { 'showCopy': false } }" data-syntax-buttons="[ { 'text': 'Button 1', 'onClick': yourJsFunction } ]"> |
213 | 213 | <pre> |
214 | 214 | var something = true; |
215 | 215 |
|
|
0 commit comments