Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

Youbou Code Block

Mô tả

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.

Ảnh màn hình

  • Example of the Code Highlighting Block in the Gutenberg editor.
  • Code block with syntax highlighting and copy-to-clipboard button.

Khối

Plugin này cung cấp 1 khối.

  • Youbou Code Block Code block with syntax highlighting.

Cài đặt

  1. Upload the plugin files to the /wp-content/plugins/code-highlighting-block directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Navigate to the Gutenberg editor and add the ‘Code Highlighting Block’ to your post or page.
  4. Select the programming language and add your code.

Hỏi đáp

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.

Đánh giá

Không có đánh giá nào cho plugin này.

Người đóng góp & Lập trình viên

“Youbou Code Block” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi

1.0

  • Initial release of the Code Highlighting Block plugin.