Skip to content

Releases: KevinBatdorf/code-block-pro

1.23.0

14 Aug 00:07
ac0d6e5
Compare
Choose a tag to compare
  • Feature: Added Imba and Console syntaxes
  • Feature: Added two new header designs based on user requests, both using text inputs
  • Tweak: The "see more" button options persist (theme, text, transition only)

1.22.1

31 Jul 01:13
b38aa10
Compare
Choose a tag to compare
  • Fix: Theme previews now respect the tabSize setting
  • Fix: Added escapeHTML wrapper on code to code pro transform function
  • Fix: Added some clarify on encoding, and added better edge cases handling
  • Fix: Fixed an issue with the decoding with some sequences that would cause a block invalidation error.

1.22.0

23 Jul 01:24
a0e32de
Compare
Choose a tag to compare
  • Feature: Added tab support in the editor, with spacing options
  • Feature: Added a way to convert back into a core code block
  • Feature: Added the Non-Ligature version of Jetbrains Mono
  • Fix: Fixed a spacing issue with tabs + line numbers
  • Fix: Fixed a bug where the line highlighter would calc the longest highlighted line rather than longest line
  • Tweak: Added pointer-events none to line blurs that are not removed on hover

1.21.0

10 Jul 00:16
230998d
Compare
Choose a tag to compare
  • Feature: Added a second copy button to choose from
  • Feature: Added a tab size setting for when using the editor to add code. Defaults to 2 spaces.
  • Tweak: Adjusts the highlight offset for comic mono

1.20.0

26 Jun 00:18
8ae92d9
Compare
Choose a tag to compare
  • Feature: Added the following languages: Ledger (Beancount), Cypher (cql), Glimmer js/ts, JSONL, Narrat (nar), Nextflow (nf), Vyper (vy)
  • Fix: Fixes an issue in the editor where some languages output an empty span tag that breaks the line number flow.

1.19.0

19 Jun 02:52
b633319
Compare
Choose a tag to compare
  • Feature: Add Fantasque Sans Mono (https://github.com/belluzj/fantasque-sans)
  • Feature: Add Comic Mono font (https://github.com/dtinth/comic-mono-font)
  • Tweak: Default to Jetbrains Mono font
  • Tweak: Rename the "Styling" panel to "Font Styling"
  • Tweak: Remove line highlights on hover when blurred
  • Tweak: Add minor adjustments for fonts to normalize line heights
  • Fix: Block will be auto-focused on insert - WP6.2 regression
  • Fix: Line highlight hover width was not rendering correctly
  • Fix: Line highlighter will find the longest line to use as the highlighter width

1.18.0

29 May 02:22
02e158d
Compare
Choose a tag to compare
  • Feature: Adds option to output html entities
  • Tweak: Creates a new button settings area to support more buttons (coming soon)
  • Tweak: Changes copying class to cbp-copying
  • Fix: Fixed a bug where default settings weren't saving

1.17.0

07 May 00:01
Compare
Choose a tag to compare
  • Feature: Add line highlighting on hover
  • Tweak: Updated the line highlighting sidebar language to be more clear (hopefully)
  • Fix: Removed pointer events from line highlights so you can select text under it
  • Fix: Adds styling to avoid CLS in the editor on page load

1.16.1

01 May 12:47
176a669
Compare
Choose a tag to compare
  • Tweak: Removes the filtering of bash and zsh filtering
  • Fix: Better language sorting (by label instead of key)
  • Fix: Fix typo in Wolfram language key

1.16.0

30 Apr 23:55
4b1b529
Compare
Choose a tag to compare
  • Feature: Added new language grammars: GD Script, GD Resource, GD Shader, GLSL, Http, Jison, JSON5, Kusto (kql), Protocol Buffers (.proto), Windows Registry (.reg), V, WGSL, and Wolfram
  • Tweak: Removed toolbar language select and added functionality to focus on the sidebar setting
  • Refactor: Moved header/footer settings out of the language select into their own panels