[WordPress] 外掛分享: Youbou Code Block

首頁 › 外掛目錄 › Youbou Code Block
全新外掛
安裝啟用
—
尚無評分
4 天前
最後更新
—
問題解決
WordPress 6.1+ PHP 7.2+ v1.0.1 上架:2024-08-03

內容簡介

Youbou Code Block 是一款專為 WordPress 的 Gutenberg 區塊編輯器設計的外掛,讓使用者能輕鬆地在文章和頁面中添加語法高亮的程式碼片段,並支援多種程式語言,還具備方便的複製到剪貼簿功能。

【主要功能】
• 支援多種程式語言的語法高亮
• 方便的複製到剪貼簿功能
• 簡易的 Gutenberg 區塊介面

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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.

延伸相關外掛

文章
Filter
Mastodon