diff --git a/index.php b/index.php index 6a79f9c..c91b779 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.2.0 + * Version: 3.0.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.2.0'; +const MKAZ_CODE_SYNTAX_BLOCK_VERSION = '3.0.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/readme.txt b/readme.txt index caeff52..b9adb97 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ 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.6 -Tested up to: 5.8.1 +Tested up to: 5.9 Requires PHP: 5.6 Stable tag: 2.2.0 License: GPLv2 or later @@ -108,6 +108,16 @@ Example: == Changelog == += 3.0.0 + +- Remove support pre WP 5.6 +- Editor view: Show dark background +- Editor view: Show labels above code block +- Publish view: Fix line number alignment +- Publish view: Remove border from code Twentytwentytwo +- Chore: Update dependencies + + = 2.2.0 - Upgrade Prism to v1.25.0