22Syntax.js
33
44[ ![ Tweet] ( https://img.shields.io/twitter/url/http/shields.io.svg?style=social )] ( 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- [ ![ npm] ( https://img.shields.io/badge/npmjs-v2.6 .0-blue )] ( https://www.npmjs.com/package/jsyntax.js )
6- [ ![ nuget] ( https://img.shields.io/badge/nuget-v2.6 .0-purple )] ( https://www.nuget.org/packages/jSyntax.js/ )
5+ [ ![ npm] ( https://img.shields.io/badge/npmjs-v3.0 .0-blue )] ( https://www.npmjs.com/package/jsyntax.js )
6+ [ ![ nuget] ( https://img.shields.io/badge/nuget-v3.0 .0-purple )] ( https://www.nuget.org/packages/jSyntax.js/ )
77[ ![ license] ( https://img.shields.io/badge/license-MIT-green )] ( https://github.com/williamtroup/Syntax.js/blob/main/LICENSE.txt )
88[ ![ discussions Welcome] ( https://img.shields.io/badge/discussions-Welcome-red )] ( https://github.com/williamtroup/Syntax.js/discussions )
99[ ![ coded by William Troup] ( https://img.shields.io/badge/coded_by-William_Troup-yellow )] ( https://www.william-troup.com/ )
1010</h1 >
1111
1212> <p align =" center " >A lightweight, and easy-to-use, JavaScript library for code syntax highlighting!</p >
13- > <p align =" center " >v2.6 .0</p >
13+ > <p align =" center " >v3.0 .0</p >
1414 <br />
1515
1616![ Syntax.js] ( docs/images/main.png )
@@ -22,6 +22,7 @@ Syntax.js
2222<h1 >What features does Syntax.js have?</h1 >
2323
2424- Zero-dependencies and extremely lightweight!
25+ - Written in TypeScript, allowing greater support for React, Angular, and other libraries!
2526- Highlights keywords, values, strings, and comments.
2627- 51 language translations available!
2728- Full API available via public functions.
@@ -158,6 +159,13 @@ npm install jsyntax.js
158159```
159160
160161Or, you can download the latest zipped up version [ here] ( https://www.william-troup.com/syntax-js/download.html ) .
162+
163+ Or, you can also use the following CDN links:
164+
165+ ``` markdown
166+ https://cdn.jsdelivr.net/gh/williamtroup/Syntax.js@3.0.0/dist/syntax.min.js
167+ https://cdn.jsdelivr.net/gh/williamtroup/Syntax.js@3.0.0/dist/syntax.js.min.css
168+ ```
161169<br >
162170<br >
163171
0 commit comments