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

Commit

Permalink
Bump to v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaz committed Jan 29, 2022
1 parent 6fb4c66 commit f23a3ca
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 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.2.0
* Version: 3.0.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.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';
Expand Down
12 changes: 11 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f23a3ca

Please sign in to comment.