Youbou Code Block
The Youbou Code Block is a Gutenberg block plugin for WordPress that allows users to easily add syntax-highlighted code snippets to their posts and pages. This plugin supports a wide range of programming languages and includes a convenient copy-to-clipboard functionality. Features Syntax highlightin
The Youbou Code Block is a Gutenberg block plugin for WordPress that allows users to easily add syntax-highlighted code snippets to their posts and pages. This plugin supports a wide range of programming languages and includes a convenient copy-to-clipboard functionality.
Features
- Syntax highlighting for various programming languages
- Supports the following languages: HTML
- CSS
- SCSS
- JavaScript
- TypeScript
- PHP
- Ruby
- Python
- Swift
- C
- C#
- C++
- Objective-C
- SQL
- JSON
- Bash
- Git
Copy-to-clipboard functionality for code snippets Easy to use Gutenberg block interface
Development
Use the Node version in .nvmrc , then run npm ci , composer install , npm test , and npm run build . Run npm run test:browser after installing Chromium with npx playwright install chromium . Run the configured lint commands and Plugin Check before publishing. npm run release builds a production ZIP with its Composer autoloader in release/ ; it does not deploy the plugin. Regenerate messages with npm run i18n:pot . When translated PO files are available, use npm run i18n:json to produce catalogs mapped to the shipped bundles. No translations are fabricated by these commands.
License
This plugin is licensed under the GPLv2 or later. For more information, see http://www.gnu.org/licenses/gpl-2.0.html .