From 28d39103623cb83f5b4c6edc08a2627bd052228c Mon Sep 17 00:00:00 2001 From: Kevin Batdorf Date: Mon, 22 Aug 2022 18:19:44 -0400 Subject: [PATCH] Update readme --- code-block-pro.php | 2 +- readme.txt | 16 +++++++++++----- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/code-block-pro.php b/code-block-pro.php index f2a1667..192ea17 100644 --- a/code-block-pro.php +++ b/code-block-pro.php @@ -4,7 +4,7 @@ * Description: Code highlighting powered by the VS Code engine * Requires at least: 6.0 * Requires PHP: 7.0 - * Version: 1.0.0 + * Version: 1.1.0 * Author: Kevin Batdorf * License: GPL-2.0-or-later * License URI: https://www.gnu.org/licenses/gpl-2.0.html diff --git a/readme.txt b/readme.txt index e455868..d0a3e24 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: kbat82 Tags: block, code, syntax highlighting, vscode, js, php Tested up to: 6.0 -Stable tag: 1.0.0 +Stable tag: 1.1.0 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -10,7 +10,9 @@ Code highlighting powered by the VS Code engine == Description == -This block plugin processes code snippets directly through the same rendering engine that is used by the popular VS Code editor. This provides fast, native, code highlighting that renders perfectly in any language and theme supported by VS Code. Syntax highlighting perfected. +Show off your beautiful code. This plugin provides you with an editor that runs your code directly through the same rendering engine that is used by the popular VS Code editor. This provides fast, native, code highlighting that renders perfectly in any language and theme supported by VS Code. + +Beautiful syntax highlighting made easy. = Features = - Includes 28 themes built in to choose from. @@ -57,11 +59,11 @@ This block plugin processes code snippets directly through the same rendering en = I'm not using the Copy feature = You can add the following snippet to your functions.php file to prevent loading the related script. It's only required if you are using the copy feature. -``` +` add_action('wp_enqueue_scripts', function() { wp_dequeue_script('kevinbatdorf-code-block-pro-view-script'); }); -``` +` == Screenshots == @@ -70,5 +72,9 @@ add_action('wp_enqueue_scripts', function() { == Changelog == += 1.1.0 = +- Add filters to hook into output +- Set copy button on by default + = 1.0.0 = -* Release +- Initial release