跳到内容

Youbou Code Block

v1.0.1

Youssef Bouhlal · 2024年8月4日 上架

Code block with syntax highlighting for gutenberg editor.

正在使用
10 以下
评分
暂无
累计下载
1,791
最近更新
2026年10月11日
需要 WordPress 6.1+已测试到 7.1.5PHP 7.2+

截图

Youbou Code Block
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 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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums