Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.

Commit aee25bf

Browse files
committed
Bump to v2.1.0
1 parent 072b26a commit aee25bf

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Code Syntax Block
44
* Plugin URI: https://github.com/mkaz/code-syntax-block
55
* Description: A plugin to extend Gutenberg code block with syntax highlighting
6-
* Version: 2.0.4
6+
* Version: 2.1.0
77
* Author: Marcus Kazmierczak
88
* Author URI: https://mkaz.blog/
99
* License: GPL2
@@ -14,7 +14,7 @@
1414
*/
1515

1616
// version added, used in URL
17-
const MKAZ_CODE_SYNTAX_BLOCK_VERSION = '2.0.4';
17+
const MKAZ_CODE_SYNTAX_BLOCK_VERSION = '2.1.0';
1818
const MKAZ_CODE_SYNTAX_DEFAULT_SCHEME = 'prism-a11y-dark';
1919
const MKAZ_CODE_SYNTAX_COLOR_SCHEMES = ['prism-a11y-dark', 'prism-ghcolors', 'prism-nord', 'prism-onedark'];
2020
require dirname( __FILE__ ) . '/prism-languages.php';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mkaz-code-syntax-block",
3-
"version": "2.0.4",
3+
"version": "2.1.0",
44
"license": "GPL-2.0-or-later",
55
"repository": {
66
"type": "git",

readme.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Contributors: mkaz, westonruter, memuller, jazanne, jeherve, eclev91
33
Donate link: https://www.paypal.me/marcuskazmierczak
44
Tags: code, code syntax, syntax highlight, code highlighting
55
Requires at least: 5.0
6-
Tested up to: 5.7
6+
Tested up to: 5.8
77
Requires PHP: 5.6
8-
Stable tag: 2.0.4
8+
Stable tag: 2.1.0
99
License: GPLv2 or later
1010
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1111

@@ -108,6 +108,12 @@ Example:
108108

109109
== Changelog ==
110110

111+
= 2.1.0 =
112+
113+
- Fix background color not being applied unless language specified.
114+
- Fixes issues with white text on light background.
115+
- Applies color syntax to all code blocks, language not required
116+
111117
= 2.0.4 =
112118

113119
- Fix pasting plain text stripping elements

0 commit comments

Comments
 (0)