Skip to content

Commit a42285a

Browse files
author
William Troup
authored
Merge pull request #44 from williamtroup/2.5.0
2.5.0
2 parents 63f9ad4 + 776ced1 commit a42285a

37 files changed

Lines changed: 322 additions & 432 deletions

README.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
Syntax.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.4.3-blue)](https://www.npmjs.com/package/jsyntax.js)
6-
[![nuget](https://img.shields.io/badge/nuget-v2.4.3-purple)](https://www.nuget.org/packages/jSyntax.js/)
5+
[![npm](https://img.shields.io/badge/npmjs-v2.5.0-blue)](https://www.npmjs.com/package/jsyntax.js)
6+
[![nuget](https://img.shields.io/badge/nuget-v2.5.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.4.3</p>
13+
> <p align="center">v2.5.0</p>
1414
<br />
1515
1616
![Syntax.js](docs/images/main.png)
@@ -60,33 +60,33 @@ To see a list of all the most recent changes, click [here](https://www.william-t
6060

6161
<h1>What languages are supported by default?</h1>
6262

63-
- Bash
64-
- C++
65-
- C#
66-
- C
67-
- CSS
68-
- Dart
69-
- Delphi
70-
- F#
71-
- GO
72-
- HTML
73-
- Java
74-
- JavaScript
75-
- Kotlin
76-
- Lua
77-
- Matlab
78-
- Microsoft SQL
79-
- Perl
80-
- PHP
81-
- Powershell
82-
- Python
83-
- R
84-
- Ruby
85-
- Rust
86-
- Scala
87-
- Swift
88-
- TypeScript
89-
- Visual Basic
63+
- `bash` Bash
64+
- `c-plus-plus` C++
65+
- `c-sharp` C#
66+
- `c` C
67+
- `css` CSS
68+
- `dart` Dart
69+
- `delphi` Delphi
70+
- `f-sharp` F#
71+
- `go` GO
72+
- `html` HTML
73+
- `java` Java
74+
- `javascript` JavaScript
75+
- `kotlin` Kotlin
76+
- `lua` Lua
77+
- `matlab` Matlab
78+
- `ms-sql` Microsoft SQL
79+
- `perl` Perl
80+
- `php` PHP
81+
- `powershell` Powershell
82+
- `python` Python
83+
- `r` R
84+
- `ruby` Ruby
85+
- `rust` Rust
86+
- `scala` Scala
87+
- `swift` Swift
88+
- `typescript` TypeScript
89+
- `visual-basic` Visual Basic
9090
<br>
9191
<br>
9292

README_NUGET.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Syntax.js v2.4.3
1+
# Syntax.js v2.5.0
22

33
[![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)
4-
[![npm](https://img.shields.io/badge/npmjs-v2.4.3-blue)](https://www.npmjs.com/package/jsyntax.js)
5-
[![nuget](https://img.shields.io/badge/nuget-v2.4.3-purple)](https://www.nuget.org/packages/jSyntax.js/)
4+
[![npm](https://img.shields.io/badge/npmjs-v2.5.0-blue)](https://www.npmjs.com/package/jsyntax.js)
5+
[![nuget](https://img.shields.io/badge/nuget-v2.5.0-purple)](https://www.nuget.org/packages/jSyntax.js/)
66
[![license](https://img.shields.io/badge/license-MIT-green)](https://github.com/williamtroup/Syntax.js/blob/main/LICENSE.txt)
77
[![discussions Welcome](https://img.shields.io/badge/discussions-Welcome-red)](https://github.com/williamtroup/Syntax.js/discussions)
88
[![coded by William Troup](https://img.shields.io/badge/coded_by-William_Troup-yellow)](https://www.william-troup.com/)
@@ -43,33 +43,33 @@ To see a list of all the most recent changes, click [here](https://www.william-t
4343

4444
## What languages are supported by default?
4545

46-
- Bash
47-
- C++
48-
- C#
49-
- C
50-
- CSS
51-
- Dart
52-
- Delphi
53-
- F#
54-
- GO
55-
- HTML
56-
- Java
57-
- JavaScript
58-
- Kotlin
59-
- Lua
60-
- Matlab
61-
- Microsoft SQL
62-
- Perl
63-
- PHP
64-
- Powershell
65-
- Python
66-
- R
67-
- Ruby
68-
- Rust
69-
- Scala
70-
- Swift
71-
- TypeScript
72-
- Visual Basic
46+
- `bash` Bash
47+
- `c-plus-plus` C++
48+
- `c-sharp` C#
49+
- `c` C
50+
- `css` CSS
51+
- `dart` Dart
52+
- `delphi` Delphi
53+
- `f-sharp` F#
54+
- `go` GO
55+
- `html` HTML
56+
- `java` Java
57+
- `javascript` JavaScript
58+
- `kotlin` Kotlin
59+
- `lua` Lua
60+
- `matlab` Matlab
61+
- `ms-sql` Microsoft SQL
62+
- `perl` Perl
63+
- `php` PHP
64+
- `powershell` Powershell
65+
- `python` Python
66+
- `r` R
67+
- `ruby` Ruby
68+
- `rust` Rust
69+
- `scala` Scala
70+
- `swift` Swift
71+
- `typescript` TypeScript
72+
- `visual-basic` Visual Basic
7373

7474

7575
## How do I install Syntax.js?

dist/languages/syntax.bash.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Syntax.js v2.4.3 | (c) Bunoon 2024 | MIT License */
1+
/*! Syntax.js v2.5.0 | (c) Bunoon 2024 | MIT License */
22
$syntax.addLanguage( "bash", {
33
friendlyName: "Bash",
44
keywords: [

dist/languages/syntax.c-plus-plus.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Syntax.js v2.4.3 | (c) Bunoon 2024 | MIT License */
1+
/*! Syntax.js v2.5.0 | (c) Bunoon 2024 | MIT License */
22
$syntax.addLanguage( "c-plus-plus", {
33
friendlyName: "C++",
44
keywords: [

dist/languages/syntax.c-sharp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Syntax.js v2.4.3 | (c) Bunoon 2024 | MIT License */
1+
/*! Syntax.js v2.5.0 | (c) Bunoon 2024 | MIT License */
22
$syntax.addLanguage( "c-sharp", {
33
friendlyName: "C#",
44
keywords: [

dist/languages/syntax.c.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Syntax.js v2.4.3 | (c) Bunoon 2024 | MIT License */
1+
/*! Syntax.js v2.5.0 | (c) Bunoon 2024 | MIT License */
22
$syntax.addLanguage( "c", {
33
friendlyName: "C",
44
keywords: [

dist/languages/syntax.css.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Syntax.js v2.4.3 | (c) Bunoon 2024 | MIT License */
1+
/*! Syntax.js v2.5.0 | (c) Bunoon 2024 | MIT License */
22
$syntax.addLanguage( "css", {
33
friendlyName: "CSS",
44
keywords: [

dist/languages/syntax.dart.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Syntax.js v2.4.3 | (c) Bunoon 2024 | MIT License */
1+
/*! Syntax.js v2.5.0 | (c) Bunoon 2024 | MIT License */
22
$syntax.addLanguage( "dart", {
33
friendlyName: "Dart",
44
keywords: [

dist/languages/syntax.delphi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Syntax.js v2.4.3 | (c) Bunoon 2024 | MIT License */
1+
/*! Syntax.js v2.5.0 | (c) Bunoon 2024 | MIT License */
22
$syntax.addLanguage( "delphi", {
33
friendlyName: "Delphi",
44
keywords: [

dist/languages/syntax.f-sharp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Syntax.js v2.4.3 | (c) Bunoon 2024 | MIT License */
1+
/*! Syntax.js v2.5.0 | (c) Bunoon 2024 | MIT License */
22
$syntax.addLanguage( "f-sharp", {
33
friendlyName: "F#",
44
keywords: [

0 commit comments

Comments
 (0)