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

Commit

Permalink
Bump to v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaz committed Jul 17, 2021
1 parent 072b26a commit aee25bf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
10 changes: 8 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit aee25bf

Please sign in to comment.