外掛說明
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
License
This plugin is licensed under the GPLv2 or later. For more information, see http://www.gnu.org/licenses/gpl-2.0.html.
螢幕擷圖
適用於區塊編輯器
這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。
- Youbou Code Block Code block with syntax highlighting.
安裝方式
- Upload the plugin files to the
/wp-content/plugins/code-highlighting-block
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Navigate to the Gutenberg editor and add the ‘Code Highlighting Block’ to your post or page.
- Select the programming language and add your code.
常見問題集
-
What programming languages are supported?
-
The plugin supports the following languages:
* HTML
* CSS
* SCSS
* JavaScript
* TypeScript
* PHP
* Ruby
* Python
* Swift
* C
* C#
* C++
* Objective-C
* SQL
* JSON
* Bash
* Git -
How do I use the copy-to-clipboard functionality?
-
When you hover over the code block, a ‘Copy’ button will appear. Click this button to copy the code to your clipboard.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.0
- Initial release of the Code Highlighting Block plugin.