Skip to content

Commit

Permalink
Bump to v2.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaz committed Jul 14, 2021
1 parent 815ea1e commit c0764c4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
4 changes: 2 additions & 2 deletions index.php
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.3
* Version: 2.0.4
* 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.3';
const MKAZ_CODE_SYNTAX_BLOCK_VERSION = '2.0.4';
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: 6 additions & 6 deletions package.json
@@ -1,19 +1,19 @@
{
"name": "mkaz-code-syntax-block",
"version": "2.0.3",
"version": "2.0.4",
"license": "GPL-2.0-or-later",
"repository": {
"type": "git",
"url": "https://github.com/mkaz/code-syntax-block.git"
},
"main": "src/index.js",
"devDependencies": {
"@wordpress/eslint-plugin": "^7.4.0",
"@wordpress/prettier-config": "^0.4.0",
"@wordpress/scripts": "^12.6.0",
"eslint": "^7.16.0",
"@wordpress/eslint-plugin": "^9.0.6",
"@wordpress/prettier-config": "^1.0.5",
"@wordpress/scripts": "^16.1.4",
"eslint": "^7.30.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.22.1"
"eslint-plugin-import": "^2.23.4"
},
"prettier": "@wordpress/prettier-config",
"scripts": {
Expand Down
11 changes: 8 additions & 3 deletions readme.txt
Expand Up @@ -5,15 +5,15 @@ Tags: code, code syntax, syntax highlight, code highlighting
Requires at least: 5.0
Tested up to: 5.7
Requires PHP: 5.6
Stable tag: 2.0.3
Stable tag: 2.0.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Code Syntax Block plugin extends the Gutenberg Block Editor by adding syntax highlighting to the core code block.
Code Syntax Block plugin extends the block editor by adding syntax highlighting to the core code block.

== Description ==

Code Syntax Block extends the WordPress Block Editor by adding syntax highlighting support to the core code block using the Prism syntax highlighter.
Code Syntax Block extends the WordPress block editor by adding syntax highlighting support to the core code block using the Prism syntax highlighter.

The Prism syntax highlighter runs JavaScript loaded on the front-end to parse code blocks and apply syntax markup. A CSS file specifies the color and style to apply to that markup. See [Prism syntax highlighter](https://prismjs.com) for full details.

Expand Down Expand Up @@ -108,6 +108,11 @@ Example:

== Changelog ==

= 2.0.4 =

- Fix pasting plain text stripping elements
- Removing formating tools that did not work

= 2.0.3 =

Compatibility fixes with TwentyTwentyOne theme
Expand Down

0 comments on commit c0764c4

Please sign in to comment.