Skip to content

Commit

Permalink
Merge pull request #40 from williamtroup/2.4.0
Browse files Browse the repository at this point in the history
2.4.0
  • Loading branch information
William Troup authored Jan 15, 2024
2 parents e02701d + 087eb27 commit 630b8b0
Show file tree
Hide file tree
Showing 39 changed files with 287 additions and 279 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
Syntax.js

[![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)
[![npm](https://img.shields.io/badge/npmjs-v2.3.1-blue)](https://www.npmjs.com/package/jsyntax.js)
[![nuget](https://img.shields.io/badge/nuget-v2.3.1-purple)](https://www.nuget.org/packages/jSyntax.js/)
[![npm](https://img.shields.io/badge/npmjs-v2.4.0-blue)](https://www.npmjs.com/package/jsyntax.js)
[![nuget](https://img.shields.io/badge/nuget-v2.4.0-purple)](https://www.nuget.org/packages/jSyntax.js/)
[![license](https://img.shields.io/badge/license-MIT-green)](https://github.com/williamtroup/Syntax.js/blob/main/LICENSE.txt)
[![discussions Welcome](https://img.shields.io/badge/discussions-Welcome-red)](https://github.com/williamtroup/Syntax.js/discussions)
[![coded by William Troup](https://img.shields.io/badge/coded_by-William_Troup-yellow)](https://github.com/williamtroup)
</h1>

> <p align="center">A lightweight, and easy-to-use, JavaScript library for code syntax highlighting!</p>
> <p align="center">v2.3.1</p>
> <p align="center">v2.4.0</p>
<br />
![Syntax.js](docs/images/main.png)
Expand Down
6 changes: 3 additions & 3 deletions README_NUGET.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Syntax.js v2.3.1
# Syntax.js v2.4.0

[![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)
[![npm](https://img.shields.io/badge/npmjs-v2.3.1-blue)](https://www.npmjs.com/package/jsyntax.js)
[![nuget](https://img.shields.io/badge/nuget-v2.3.1-purple)](https://www.nuget.org/packages/jSyntax.js/)
[![npm](https://img.shields.io/badge/npmjs-v2.4.0-blue)](https://www.npmjs.com/package/jsyntax.js)
[![nuget](https://img.shields.io/badge/nuget-v2.4.0-purple)](https://www.nuget.org/packages/jSyntax.js/)
[![license](https://img.shields.io/badge/license-MIT-green)](https://github.com/williamtroup/Syntax.js/blob/main/LICENSE.txt)
[![discussions Welcome](https://img.shields.io/badge/discussions-Welcome-red)](https://github.com/williamtroup/Syntax.js/discussions)
[![coded by William Troup](https://img.shields.io/badge/coded_by-William_Troup-yellow)](https://github.com/williamtroup)
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.bash.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "bash", {
friendlyName: "Bash",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.c-plus-plus.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "c-plus-plus", {
friendlyName: "C++",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.c-sharp.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "c-sharp", {
friendlyName: "C#",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.c.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "c", {
friendlyName: "C",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.css.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "css", {
friendlyName: "CSS",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.dart.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "dart", {
friendlyName: "Dart",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.delphi.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "delphi", {
friendlyName: "Delphi",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.f-sharp.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "f-sharp", {
friendlyName: "F#",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.go.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "go", {
friendlyName: "Go",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.html.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "html", {
friendlyName: "HTML",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.java.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "java", {
friendlyName: "Java",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.javascript.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "javascript", {
friendlyName: "JavaScript",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.kotlin.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "kotlin", {
friendlyName: "Kotlin",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.lua.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "lua", {
friendlyName: "Lua",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.matlab.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "matlab", {
friendlyName: "Matlab",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.ms-sql.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "ms-sql", {
friendlyName: "MS SQL",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.perl.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "perl", {
friendlyName: "Perl",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.php.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "php", {
friendlyName: "PHP",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.powershell.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "powershell", {
friendlyName: "Powershell",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.python.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "python", {
friendlyName: "Python",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.r.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "r", {
friendlyName: "R",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.ruby.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "ruby", {
friendlyName: "Ruby",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.rust.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "rust", {
friendlyName: "Rust",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.scala.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "scala", {
friendlyName: "Scala",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.swift.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "swift", {
friendlyName: "Swift",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.typescript.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "typescript", {
friendlyName: "TypeScript",
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion dist/languages/syntax.visual-basic.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
$syntax.addLanguage( "visual-basic", {
friendlyName: "Visual Basic",
keywords: [
Expand Down
4 changes: 2 additions & 2 deletions dist/syntax.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Syntax.js v2.3.1 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.0 | (c) Bunoon | MIT License */
(function() {
function render() {
var tagTypes = _configuration.highlightAllDomElementTypes;
Expand Down Expand Up @@ -1087,7 +1087,7 @@
return this;
};
this.getVersion = function() {
return "2.3.1";
return "2.4.0";
};
(function(documentObject, navigatorObject, windowObject) {
_parameter_Document = documentObject;
Expand Down
Loading

0 comments on commit 630b8b0

Please sign in to comment.