Skip to content

Commit 79a103a

Browse files
author
William Troup
authored
Merge pull request #42 from williamtroup/2.4.2
2.4.2
2 parents 7621a05 + 95a62e5 commit 79a103a

39 files changed

Lines changed: 204 additions & 118 deletions

README.md

Lines changed: 29 additions & 12 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.1-blue)](https://www.npmjs.com/package/jsyntax.js)
6-
[![nuget](https://img.shields.io/badge/nuget-v2.4.1-purple)](https://www.nuget.org/packages/jSyntax.js/)
5+
[![npm](https://img.shields.io/badge/npmjs-v2.4.2-blue)](https://www.npmjs.com/package/jsyntax.js)
6+
[![nuget](https://img.shields.io/badge/nuget-v2.4.2-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)
9-
[![coded by William Troup](https://img.shields.io/badge/coded_by-William_Troup-yellow)](https://github.com/williamtroup)
9+
[![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.1</p>
13+
> <p align="center">v2.4.2</p>
1414
<br />
1515
1616
![Syntax.js](docs/images/main.png)
@@ -36,18 +36,21 @@ Syntax.js
3636
<br />
3737
<br />
3838

39+
3940
<h1>What browsers are supported?</h1>
4041

4142
All modern browsers (such as Google Chrome, FireFox, and Opera) are fully supported.
4243
<br>
4344
<br>
4445

46+
4547
<h1>What are the most recent changes?</h1>
4648

47-
To see a list of all the most recent changes, click [here](docs/CHANGE_LOG.md).
49+
To see a list of all the most recent changes, click [here](https://www.william-troup.com/syntax-js/documentation/recent-changes.html).
4850
<br>
4951
<br>
5052

53+
5154
<h1>What languages are supported by default?</h1>
5255

5356
- Bash
@@ -80,6 +83,20 @@ To see a list of all the most recent changes, click [here](docs/CHANGE_LOG.md).
8083
<br>
8184
<br>
8285

86+
87+
<h1>How do I install Syntax.js?</h1>
88+
89+
You can install the library with npm into your local modules directory using the following command:
90+
91+
```markdown
92+
npm install jsyntax.js
93+
```
94+
95+
Or, you can download the latest zipped up version [here](https://www.william-troup.com/syntax-js/download.html).
96+
<br>
97+
<br>
98+
99+
83100
<h1>How do I get started?</h1>
84101

85102
To get started using Syntax.js, do the following steps:
@@ -162,13 +179,13 @@ Make sure you include the "DOCTYPE html" tag at the top of your HTML, as follows
162179

163180
To see a list of all the available binding languages you can use for "data-syntax-language", click [here](docs/binding/language/LANGUAGE.md).
164181

165-
To see a list of all the available binding options you can use for "data-syntax-options", click [here](docs/binding/options/OPTIONS.md).
182+
To see a list of all the available binding options you can use for "data-syntax-options", click [here](https://www.william-troup.com/syntax-js/documentation/binding-options.html).
166183

167-
To see a list of all the available custom triggers you can use for "data-syntax-options", click [here](docs/binding/options/CUSTOM_TRIGGERS.md).
184+
To see a list of all the available custom triggers you can use for "data-syntax-options", click [here](https://www.william-troup.com/syntax-js/documentation/binding-options-custom-triggers.html).
168185

169-
To see a list of all the available binding options you can use for "data-syntax-buttons", click [here](docs/binding/buttons/BUTTONS.md).
186+
To see a list of all the available binding options you can use for "data-syntax-buttons", click [here](https://www.william-troup.com/syntax-js/documentation/buttons.html).
170187

171-
To see a list of all the available binding options you can use for "data-syntax-tab-contents", click [here](docs/binding/tabs/TAB_CONTENTS.md).
188+
To see a list of all the available binding options you can use for "data-syntax-tab-contents", click [here](https://www.william-troup.com/syntax-js/documentation/tabs.html).
172189

173190
<br>
174191

@@ -186,7 +203,7 @@ To customize, and get more out of Syntax.js, please read through the following d
186203

187204
### 1. Public Functions:
188205

189-
To see a list of all the public functions available, click [here](docs/PUBLIC_FUNCTIONS.md).
206+
To see a list of all the public functions available, click [here](https://www.william-troup.com/syntax-js/documentation/public-functions.html).
190207
<br>
191208
<br>
192209

@@ -203,6 +220,6 @@ Configuration options allow you to customize how Syntax.js will function. You c
203220
</script>
204221
```
205222

206-
To see a list of all the available configuration options you can use, click [here](docs/configuration/OPTIONS.md).
223+
To see a list of all the available configuration options you can use, click [here](https://www.william-troup.com/syntax-js/documentation/options.html).
207224

208-
To see a list of all the available configuration options custom triggers you can use, click [here](docs/configuration/CUSTOM_TRIGGERS.md).
225+
To see a list of all the available configuration options custom triggers you can use, click [here](https://www.william-troup.com/syntax-js/documentation/custom-triggers.html).

README_NUGET.md

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Syntax.js v2.4.1
1+
# Syntax.js v2.4.2
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.1-blue)](https://www.npmjs.com/package/jsyntax.js)
5-
[![nuget](https://img.shields.io/badge/nuget-v2.4.1-purple)](https://www.nuget.org/packages/jSyntax.js/)
4+
[![npm](https://img.shields.io/badge/npmjs-v2.4.2-blue)](https://www.npmjs.com/package/jsyntax.js)
5+
[![nuget](https://img.shields.io/badge/nuget-v2.4.2-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)
8-
[![coded by William Troup](https://img.shields.io/badge/coded_by-William_Troup-yellow)](https://github.com/williamtroup)
8+
[![coded by William Troup](https://img.shields.io/badge/coded_by-William_Troup-yellow)](https://www.william-troup.com/)
99

1010
> A lightweight, and easy-to-use, JavaScript library for code syntax highlighting!
1111
@@ -33,7 +33,7 @@ All modern browsers (such as Google Chrome, FireFox, and Opera) are fully suppor
3333

3434
## What are the most recent changes?
3535

36-
To see a list of all the most recent changes, click [here](https://github.com/williamtroup/Syntax.js/blob/main/docs/CHANGE_LOG.md).
36+
To see a list of all the most recent changes, click [here](https://www.william-troup.com/syntax-js/documentation/recent-changes.html).
3737

3838

3939
## What languages are supported by default?
@@ -67,6 +67,17 @@ To see a list of all the most recent changes, click [here](https://github.com/wi
6767
- Visual Basic
6868

6969

70+
## How do I install Syntax.js?
71+
72+
You can install the library with npm into your local modules directory using the following command:
73+
74+
```markdown
75+
npm install jsyntax.js
76+
```
77+
78+
Or, you can download the latest zipped up version [here](https://www.william-troup.com/syntax-js/download.html).
79+
80+
7081
## How do I get started?
7182

7283
To get started using Syntax.js, do the following steps:
@@ -145,13 +156,13 @@ Make sure you include the "DOCTYPE html" tag at the top of your HTML, as follows
145156

146157
To see a list of all the available binding languages you can use for "data-syntax-language", click [here](https://github.com/williamtroup/Syntax.js/blob/main/docs/binding/language/LANGUAGE.md).
147158

148-
To see a list of all the available binding options you can use for "data-syntax-options", click [here](https://github.com/williamtroup/Syntax.js/blob/main/docs/binding/options/OPTIONS.md).
159+
To see a list of all the available binding options you can use for "data-syntax-options", click [here](https://www.william-troup.com/syntax-js/documentation/binding-options.html).
149160

150-
To see a list of all the available custom triggers you can use for "data-syntax-options", click [here](https://github.com/williamtroup/Syntax.js/blob/main/docs/binding/options/CUSTOM_TRIGGERS.md).
161+
To see a list of all the available custom triggers you can use for "data-syntax-options", click [here](https://www.william-troup.com/syntax-js/documentation/binding-options-custom-triggers.html).
151162

152-
To see a list of all the available binding options you can use for "data-syntax-buttons", click [here](https://github.com/williamtroup/Syntax.js/blob/main/docs/binding/buttons/BUTTONS.md).
163+
To see a list of all the available binding options you can use for "data-syntax-buttons", click [here](https://www.william-troup.com/syntax-js/documentation/buttons.html).
153164

154-
To see a list of all the available binding options you can use for "data-syntax-tab-contents", click [here](https://github.com/williamtroup/Syntax.js/blob/main/docs/binding/tabs/TAB_CONTENTS.md).
165+
To see a list of all the available binding options you can use for "data-syntax-tab-contents", click [here](https://www.william-troup.com/syntax-js/documentation/tabs.html).
155166

156167

157168
### 4. Finishing Up:
@@ -166,7 +177,7 @@ To customize, and get more out of Syntax.js, please read through the following d
166177

167178
### 1. Public Functions:
168179

169-
To see a list of all the public functions available, click [here](https://github.com/williamtroup/Syntax.js/blob/main/docs/PUBLIC_FUNCTIONS.md).
180+
To see a list of all the public functions available, click [here](https://www.william-troup.com/syntax-js/documentation/public-functions.html).
170181

171182

172183
### 2. Configuration:
@@ -181,6 +192,6 @@ Configuration options allow you to customize how Syntax.js will function. You c
181192
</script>
182193
```
183194

184-
To see a list of all the available configuration options you can use, click [here](https://github.com/williamtroup/Syntax.js/blob/main/docs/OPTIONS.md).
195+
To see a list of all the available configuration options you can use, click [here](https://www.william-troup.com/syntax-js/documentation/options.html).
185196

186-
To see a list of all the available configuration options custom triggers you can use, click [here](https://github.com/williamtroup/Syntax.js/blob/main/docs/CUSTOM_TRIGGERS.md).
197+
To see a list of all the available configuration options custom triggers you can use, click [here](https://www.william-troup.com/syntax-js/documentation/custom-triggers.html).

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.1 | (c) Bunoon 2024 | MIT License */
1+
/*! Syntax.js v2.4.2 | (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.1 | (c) Bunoon 2024 | MIT License */
1+
/*! Syntax.js v2.4.2 | (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.1 | (c) Bunoon 2024 | MIT License */
1+
/*! Syntax.js v2.4.2 | (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.1 | (c) Bunoon 2024 | MIT License */
1+
/*! Syntax.js v2.4.2 | (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.1 | (c) Bunoon 2024 | MIT License */
1+
/*! Syntax.js v2.4.2 | (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.1 | (c) Bunoon 2024 | MIT License */
1+
/*! Syntax.js v2.4.2 | (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.1 | (c) Bunoon 2024 | MIT License */
1+
/*! Syntax.js v2.4.2 | (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.1 | (c) Bunoon 2024 | MIT License */
1+
/*! Syntax.js v2.4.2 | (c) Bunoon 2024 | MIT License */
22
$syntax.addLanguage( "f-sharp", {
33
friendlyName: "F#",
44
keywords: [

0 commit comments

Comments
 (0)