Skip to content

Commit

Permalink
Merge pull request #41 from williamtroup/2.4.1
Browse files Browse the repository at this point in the history
2.4.1
  • Loading branch information
William Troup authored Jan 18, 2024
2 parents 630b8b0 + 7c1e5ed commit 7621a05
Show file tree
Hide file tree
Showing 54 changed files with 124 additions and 116 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 William Troup
Copyright (c) 2024 William Troup

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 4 additions & 4 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.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/)
[![npm](https://img.shields.io/badge/npmjs-v2.4.1-blue)](https://www.npmjs.com/package/jsyntax.js)
[![nuget](https://img.shields.io/badge/nuget-v2.4.1-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.4.0</p>
> <p align="center">v2.4.1</p>
<br />
![Syntax.js](docs/images/main.png)
Expand Down Expand Up @@ -98,7 +98,7 @@ Make sure you include the "DOCTYPE html" tag at the top of your HTML, as follows
### 2. Include Files:

```markdown
<link rel="stylesheet" href="dist/syntax.js.css" />
<link rel="stylesheet" href="dist/syntax.js.css">
<script src="dist/syntax.js"></script>
<script src="dist/languages/syntax.javascript.js"></script>
<script src="dist/languages/syntax.html.js"></script>
Expand Down
8 changes: 4 additions & 4 deletions README_NUGET.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Syntax.js v2.4.0
# Syntax.js v2.4.1

[![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.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/)
[![npm](https://img.shields.io/badge/npmjs-v2.4.1-blue)](https://www.npmjs.com/package/jsyntax.js)
[![nuget](https://img.shields.io/badge/nuget-v2.4.1-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 Expand Up @@ -82,7 +82,7 @@ Make sure you include the "DOCTYPE html" tag at the top of your HTML, as follows
### 2. Include Files:

```markdown
<link rel="stylesheet" href="dist/syntax.js.css" />
<link rel="stylesheet" href="dist/syntax.js.css">
<script src="dist/syntax.js"></script>
<script src="dist/languages/syntax.javascript.js"></script>
<script src="dist/languages/syntax.html.js"></script>
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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | 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.4.0 | (c) Bunoon | MIT License */
/*! Syntax.js v2.4.1 | (c) Bunoon 2024 | MIT License */
(function() {
function render() {
var tagTypes = _configuration.highlightAllDomElementTypes;
Expand Down Expand Up @@ -1087,7 +1087,7 @@
return this;
};
this.getVersion = function() {
return "2.4.0";
return "2.4.1";
};
(function(documentObject, navigatorObject, windowObject) {
_parameter_Document = documentObject;
Expand Down
4 changes: 2 additions & 2 deletions dist/syntax.js.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Syntax.js Library v2.4.0
* Syntax.js Library v2.4.1
*
* Copyright 2023 Bunoon
* Copyright 2024 Bunoon
* Released under the MIT License
*/
:root {
Expand Down
Loading

0 comments on commit 7621a05

Please sign in to comment.