From aee25bff6ae002a04ba977b1cc68980abc155bb1 Mon Sep 17 00:00:00 2001 From: Marcus Kazmierczak Date: Fri, 16 Jul 2021 19:51:06 -0700 Subject: [PATCH] Bump to v2.1.0 --- index.php | 4 ++-- package.json | 2 +- readme.txt | 10 ++++++++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/index.php b/index.php index fab7783..3570bfb 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ * Plugin Name: Code Syntax Block * Plugin URI: https://github.com/mkaz/code-syntax-block * Description: A plugin to extend Gutenberg code block with syntax highlighting - * Version: 2.0.4 + * Version: 2.1.0 * Author: Marcus Kazmierczak * Author URI: https://mkaz.blog/ * License: GPL2 @@ -14,7 +14,7 @@ */ // version added, used in URL -const MKAZ_CODE_SYNTAX_BLOCK_VERSION = '2.0.4'; +const MKAZ_CODE_SYNTAX_BLOCK_VERSION = '2.1.0'; const MKAZ_CODE_SYNTAX_DEFAULT_SCHEME = 'prism-a11y-dark'; const MKAZ_CODE_SYNTAX_COLOR_SCHEMES = ['prism-a11y-dark', 'prism-ghcolors', 'prism-nord', 'prism-onedark']; require dirname( __FILE__ ) . '/prism-languages.php'; diff --git a/package.json b/package.json index fd1b1a3..bff75b9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mkaz-code-syntax-block", - "version": "2.0.4", + "version": "2.1.0", "license": "GPL-2.0-or-later", "repository": { "type": "git", diff --git a/readme.txt b/readme.txt index 38e5caa..9f3662f 100644 --- a/readme.txt +++ b/readme.txt @@ -3,9 +3,9 @@ Contributors: mkaz, westonruter, memuller, jazanne, jeherve, eclev91 Donate link: https://www.paypal.me/marcuskazmierczak Tags: code, code syntax, syntax highlight, code highlighting Requires at least: 5.0 -Tested up to: 5.7 +Tested up to: 5.8 Requires PHP: 5.6 -Stable tag: 2.0.4 +Stable tag: 2.1.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -108,6 +108,12 @@ Example: == Changelog == += 2.1.0 = + +- Fix background color not being applied unless language specified. +- Fixes issues with white text on light background. +- Applies color syntax to all code blocks, language not required + = 2.0.4 = - Fix pasting plain text stripping elements