cl01/wp-content/plugins/code-block-pro
2025-02-24 12:39:24 +08:00
..
php Initial commit 2025-02-24 12:39:24 +08:00
src Initial commit 2025-02-24 12:39:24 +08:00
.distignore Initial commit 2025-02-24 12:39:24 +08:00
.editorconfig Initial commit 2025-02-24 12:39:24 +08:00
.gitignore Initial commit 2025-02-24 12:39:24 +08:00
.prettierrc.js Initial commit 2025-02-24 12:39:24 +08:00
.wp-env.json Initial commit 2025-02-24 12:39:24 +08:00
code-block-pro.php Initial commit 2025-02-24 12:39:24 +08:00
cypress.config.ts Initial commit 2025-02-24 12:39:24 +08:00
eslint.config.mjs Initial commit 2025-02-24 12:39:24 +08:00
package.json Initial commit 2025-02-24 12:39:24 +08:00
postcss.config.js Initial commit 2025-02-24 12:39:24 +08:00
README.md Initial commit 2025-02-24 12:39:24 +08:00
readme.txt Initial commit 2025-02-24 12:39:24 +08:00
tailwind.config.js Initial commit 2025-02-24 12:39:24 +08:00
tsconfig.json Initial commit 2025-02-24 12:39:24 +08:00
webpack.config.js Initial commit 2025-02-24 12:39:24 +08:00

Code highlighting powered by the VS Code engine

Read more at code-block-pro.com

View all themes at code-block-pro.com/themes

View this block plugin on WordPress.org

Twitter

Features

  • Includes 25+ built-in themes to choose from.
  • Supports over 140 programming languages
  • Optionally load programming fonts
  • Line numbers
  • Line highlighting (static and on hover)
  • Blur highlighting (with reveal on hover)
  • Header styles
  • Footer styles
  • Optionally add a copy button to let users copy the code
  • Native Gutenberg block output - no special requirements
  • Core functionality works in headless mode (see FAQ)
  • Supports converting from the default code block

Tips

  • Try combining line highlighting with the blur effect to add some extra depth
  • All settings are per block, but some settings are remembered when you add the next block.
  • Add a link in the code footer (some footers support this, not all) that points to a https://codepen.io demo.

Example Screenshots

alt text alt text alt text