PluginProbe
Code Block Pro – Beautiful Syntax Highlighting / 1.13.0
Code Block Pro – Beautiful Syntax Highlighting v1.13.0
1.27.1 1.27.2 1.27.3 1.27.4 1.27.5 1.27.6 1.27.7 1.28.0 1.3.0 1.4.0 1.5.0 1.5.1 1.5.2 1.6.0 1.7.0 1.8.0 1.9.0 1.9.1 1.9.2 1.9.3 trunk 1.1.0 1.10.0 1.11.0 1.11.1 All 63 releases
← All changes | readme.txt +54 -8 1.9.21.13.0 View file →
@@ -1,9 +1,9 @@
1 1 === Code Block Pro - Beautiful Syntax Highlighting ===
2 2 Contributors: kbat82
3 -Tags: block, code, syntax, snippet, highlighter, JavaScript, php, vs code, torchlight, shiki
3 +Tags: block, code, syntax, snippet, highlighter, JavaScript, php, vs code
4 4 Tested up to: 6.1
5 -Stable tag: 1.9.2
5 +Stable tag: 1.13.0
6 6 License: GPL-2.0-or-later
7 7 License URI: https://www.gnu.org/licenses/gpl-2.0.html
8 8
9 9 Code highlighting powered by the VS Code engine. Performance focused. No bloat.
@@ -13,8 +13,10 @@
13 13 Show off your beautiful code, don't just display it! This block plugin provides you with a code block editor that runs your code directly through the same rendering engine that is used by the popular VS Code editor. This block provides fast, native, code highlighting that renders perfectly in any language and theme supported by VS Code.
14 14
15 15 Beautiful syntax highlighting that makes sense.
16 16
17 +Visit [code-block-pro.com](https://code-block-pro.com/?utm_campaign=plugin&utm_source=readme-body&utm_medium=textlink) to learn more.
18 +
17 19 = Values =
18 20 - Performance first - Web vitals. Pre-rendering. Minimal asset loading.
19 21 - Lightweight - No bloat. Simple functions. Clean, maintainable code.
20 22 - Practical/useful - Focused on the user experience and presentation.
@@ -19,8 +21,10 @@
19 21 - Lightweight - No bloat. Simple functions. Clean, maintainable code.
20 22 - Practical/useful - Focused on the user experience and presentation.
21 23 - Beautiful - Your code should look great!
22 24
25 +Star [Code Block Pro](https://github.com/KevinBatdorf/code-block-pro) on GitHub!
26 +
23 27 = Features =
24 28 - Includes 25+ built-in themes to choose from.
25 29 - Supports over 140 programming languages
26 30 - Modern programming web fonts - locally hosted
@@ -32,8 +36,9 @@
32 36 - Copy button
33 37 - Native Gutenberg block
34 38 - Core functionality works in headless mode (see FAQ)
35 39 - Converting from the default code block (and others)
40 +- Max height with scrollable section (optional expand button)
36 41
37 42 = More info =
38 43 - Follow [@kevinbatdorf](https://twitter.com/kevinbatdorf) on Twitter
39 44 - View on [GitHub](https://github.com/KevinBatdorf/code-block-pro)
@@ -42,13 +47,8 @@
42 47 - Try combining line highlighting with the blur effect to add some extra depth and focus on the important parts of the code without losing context
43 48 - All settings are per block, but some settings are remembered when you add the next block.
44 49 - Add a link in the code footer (some footers support this, not all) that points to a https://codepen.io demo
45 50
46 -= Coming soon =
47 -- Diff highlighting
48 -- More themes, headers, footers
49 -- In browser, safe code execution - experimental
50 -
51 51 = Included VS Code Themes =
52 52 - Dark Plus
53 53 - Dracula Soft
54 54 - Dracula
@@ -77,16 +77,20 @@
77 77 - Solarized Light
78 78 - Vitesse Dark
79 79 - Vitesse Light
80 80
81 +Get more themes at [code-block-pro.com/themes](https://code-block-pro.com/themes?utm_campaign=themes&utm_source=readme-body&utm_medium=textlink)
82 +
81 83 = Included Coding Languages =
82 84 - ABAP
83 85 - ActionScript 3
84 86 - Ada
87 +- ANSI (control codes rendered)
85 88 - Apache
86 89 - Apex
87 90 - APL
88 91 - AppleScript
92 +- Ara
89 93 - ASM
90 94 - Astro
91 95 - Awk
92 96 - Ballerina
@@ -109,8 +113,9 @@
109 113 - CSS
110 114 - CUE
111 115 - D
112 116 - Dart
117 +- DAX
113 118 - Diff
114 119 - Docker
115 120 - DreamMaker
116 121 - Elixir
@@ -167,8 +172,9 @@
167 172 - PHP
168 173 - PLSQL
169 174 - PostCSS
170 175 - PowerShell
176 +- Power Query
171 177 - Prisma
172 178 - Prolog
173 179 - Pug
174 180 - Puppet
@@ -239,13 +245,53 @@
239 245 1. Choose from more than 25 themes.
240 246 2. Customize fonts, themes, and behavior.
241 247 3. Disable padding and inline the code for a fluent experience.
242 248 4. Use highlighting and blur to focus on parts of the code.
249 +5. ANSI support for rendering control sequences
243 250
244 251 == Changelog ==
245 252
253 += 1.13.0 - 2023-02-05 =
254 +- Feature: Add scrollable max height area with no button (Max Height panel)
255 +- Feature: Add expanding code area with max height based online number
256 +- Feature: Added ANSI rendering support - some themes do not look perfect yet
257 +- Fix: Disabled font ligatures in the editor as it broke cursor positioning on wraps
258 +
259 += 1.12.0 - 2023-01-28 =
260 +- Feature: Added Ara, Power Query, and DAX language support
261 +- Fix: Fixed preview output on theme selection
262 +- Fix: Fixed theme selection font rendering (to match preview better)
263 +
264 += 1.11.3 - 2023-01-08 =
265 +- Fix: Encode and decode html entities to prevent script tag bug
266 +
267 += 1.11.2 - 2023-01-04 =
268 +- Fix: Update shiki renderer wasm loader to use ArrayBuffer
269 +- Tweak: Expose init function as global to allow late init
270 +
271 += 1.11.1 - 2023-01-04 =
272 +- Fix: Revert code parser as there is a wasm loading error
273 +
274 += 1.11.0 - 2023-01-03 =
275 +- Feature: Add theme name text search
276 +- Feature: Add theme visibility manager to limit visible themes
277 +- Tweak: Show better error when theme is missing
278 +- Fix: Renderer source url has a double slash
279 +
280 += 1.10.0 - 2022-12-21 =
281 +- Feature: Add footer with left aligned text
282 +- Tweak: Load scripts (copy button, highlight) on multiple lifecycle points
283 +- Tweak: Make the above scripts idempotent so they can run multiple times safely
284 +- Fix: Removes inner focus outline from Gutenberg update
285 +
286 += 1.9.3 - 2022-12-05 =
287 +- Fix: Adjusted editor padding for line numbers to better match the front end
288 +- Fix: Removed the TW border default in the editor as it was overriding some wp defaults
289 +- Fix: Updated a typo on the word "focus"
290 +- Testing: Adds coverage for every main feature
291 +
246 292 = 1.9.2 - 2022-11-22 =
247 -- Compatibility: Adds a method override to allow users to activate when prismatic is installed.
293 +- Compatibility: Adds a method override to allow users to activate when prismatic is installed
248 294
249 295 = 1.9.1 - 2022-11-21 =
250 296 - Fix: Fixed a situations where the highlighter was miscalculating its width
251 297