Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.4.3 #43

Merged
merged 3 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 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.4.2-blue)](https://www.npmjs.com/package/jsyntax.js)
[![nuget](https://img.shields.io/badge/nuget-v2.4.2-purple)](https://www.nuget.org/packages/jSyntax.js/)
[![npm](https://img.shields.io/badge/npmjs-v2.4.3-blue)](https://www.npmjs.com/package/jsyntax.js)
[![nuget](https://img.shields.io/badge/nuget-v2.4.3-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://www.william-troup.com/)
</h1>

> <p align="center">A lightweight, and easy-to-use, JavaScript library for code syntax highlighting!</p>
> <p align="center">v2.4.2</p>
> <p align="center">v2.4.3</p>
<br />

![Syntax.js](docs/images/main.png)
Expand All @@ -37,6 +37,13 @@ Syntax.js
<br />


<h1>Where can I find the documentation?</h1>

All the documentation can be found [here](https://www.william-troup.com/syntax-js/documentation/index.html):
<br>
<br>


<h1>What browsers are supported?</h1>

All modern browsers (such as Google Chrome, FireFox, and Opera) are fully supported.
Expand Down
11 changes: 8 additions & 3 deletions README_NUGET.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Syntax.js v2.4.2
# Syntax.js v2.4.3

[![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.2-blue)](https://www.npmjs.com/package/jsyntax.js)
[![nuget](https://img.shields.io/badge/nuget-v2.4.2-purple)](https://www.nuget.org/packages/jSyntax.js/)
[![npm](https://img.shields.io/badge/npmjs-v2.4.3-blue)](https://www.npmjs.com/package/jsyntax.js)
[![nuget](https://img.shields.io/badge/nuget-v2.4.3-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://www.william-troup.com/)
Expand All @@ -26,6 +26,11 @@
- Tabbing (allows multiple languages to be shown in one tabbed container, which is great for code examples).


## Where can I find the documentation?

All the documentation can be found [here](https://www.william-troup.com/syntax-js/documentation/index.html):


## What browsers are supported?

All modern browsers (such as Google Chrome, FireFox, and Opera) are fully supported.
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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (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.2 | (c) Bunoon 2024 | MIT License */
/*! Syntax.js v2.4.3 | (c) Bunoon 2024 | MIT License */
(function() {
function render() {
var tagTypes = _configuration.highlightAllDomElementTypes;
Expand Down Expand Up @@ -1089,7 +1089,7 @@
return this;
};
this.getVersion = function() {
return "2.4.2";
return "2.4.3";
};
(function(documentObject, navigatorObject, windowObject, mathObject, jsonObject) {
_parameter_Document = documentObject;
Expand Down
2 changes: 1 addition & 1 deletion dist/syntax.js.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Syntax.js Library v2.4.2
* Syntax.js Library v2.4.3
*
* Copyright 2024 Bunoon
* Released under the MIT License
Expand Down
Loading
Loading