Linux 软件免费装
Banner图

Code Block – share beautiful code snippets readers can copy

开发者 bplugins
abuhayat
btechnologies
prosanta10
freemius
更新时间 2026年8月29日 13:33
捐献地址: 去捐款
PHP版本: 6.5 及以上
WordPress版本: 7.1
版权: GPLv3 or later
版权网址: 版权信息

标签

gutenberg block syntax highlighting code highlight code block code snippets

下载

1.0.1 1.1.0 1.1.2 1.0.2 1.0.3 1.0.0 1.1.3 1.1.4 1.1.5

详情介绍:

Turn plain code into beautifully highlighted, copy-ready snippets your readers will love – right inside the Gutenberg editor. Code Snippets Block | Pricing | Support | Live Demos What Is Code Snippets Block? Code Snippets Block is a lightweight WordPress code block plugin for displaying programming code with syntax highlighting, copy-to-clipboard functionality, responsive layouts, and multiple visual themes. Add clean and readable code examples to WordPress posts, pages, documentation, tutorials, developer portfolios, knowledge bases, and technical websites without writing custom code. The plugin works directly with the WordPress Gutenberg Block Editor and supports popular programming languages including PHP, JavaScript, Python, HTML, CSS, JSON, and SQL. Why Use Code Snippets Block? Publishing code in a normal text editor can make technical content difficult to read and copy. Code Snippets Block turns your code into a structured, highlighted, and copy-ready code block. It is useful for developers, technical writers, educators, bloggers, documentation creators, agencies, and anyone publishing programming content with WordPress. Free Features Pro Version Upgrade to Pro to unlock a suite of 16 interactive developer blocks: How to Use
  1. Install and activate the Code Snippets Block plugin.
  2. In the Gutenberg editor, add the Code Snippets block.
  3. Paste your code and pick a syntax theme.
  4. Adjust settings from the right-side settings sidebar.
  5. Publish – your highlighted, copy-ready snippet is live!
Use Cases What Can You Do With Code Snippets Block? Code Snippets Block helps you publish programming and developer content directly in WordPress. You can use it to: Who Is Code Snippets Block For? Code Snippets Block is designed for: How to Add Code with Shortcode Code Snippets Block also supports shortcode-based embedding.
  1. Create your code snippet.
  2. Copy the generated shortcode.
  3. Paste the shortcode into a shortcode-supported area.
  4. Save or publish the page.
This allows you to display code snippets in different areas of your WordPress website. Liked this plugin? Want a new feature? Send us some feedback. ⭐ Check out the Parent Plugin of this plugin- 🔥 b Blocks – Best gutenberg blocks collections for WordPress. ⭐ Check out our other WordPress Plugins- 🔥 Html5 Audio Player – Best audio player plugin for WordPress. 🔥 Html5 Video Player – Best video player plugin for WordPress. 🔥 PDF Poster – A fully-featured PDF Viewer Plugin for WordPress. 🔥 StreamCast – A fully-featured Radio Player Plugin for WordPress. 🔥 3D Viewer – Display interactive 3D models on the webs.

安装:

From your WordPress dashboard (recommended):
  1. Go to Plugins → Add New.
  2. Search for "Code Snippets Block".
  3. Click Install Now, then Activate.
  4. Add the Code Snippets block to any post or page in the Gutenberg editor.
Manual installation:
  1. Download the Code Snippets Block plugin (.zip file).
  2. In your admin area, go to Plugins → Add New and click Upload Plugin.
  3. Choose the code-snippets-block.zip file and click Install Now.
  4. Activate the plugin through the Plugins menu in WordPress.

屏幕截图:

  • Add New FAQ (ShortCode)
  • Default Theme
  • Dark Theme
  • Tomorrow Theme
  • Solarized Light Theme
  • Twilight Theme
  • Porple Theme
  • White Theme
  • Github Theme
  • Gradient-Light Theme
  • VSCode-Dark Theme
  • Codepan Embeb Theme
  • Far Theme
  • Gutenberg Block Support
  • Gutenberg Block Settings

升级注意事项:

1.0.3 - 14 Oct, 2025
  • remove extra double " ;
1.0.2 - 27 April, 2025
  • border issues fixed;
  • Plugin title change, block title change and some assets updated;
1.0.1 - 22 April, 2025
  • Some issues fixed;
  • assets added;
1.0.0
  • Initial Release

常见问题:

Is Code Snippets Block free?

Yes, Code Snippets Block is a free Gutenberg block plugin. A Pro version with 16 additional developer blocks is also available.

Does it work with any WordPress theme?

Yes, it will work with any standard WordPress theme.

Which programming languages does it support?

The block highlights all major languages, including PHP, JavaScript, Python, HTML, CSS, JSON, and SQL.

Can visitors copy the code from my site?

Yes. Every snippet includes a one-click copy-to-clipboard button, and you can customize its text or icon.

Can I change the look of the code block?

Yes. Choose from multiple built-in color themes and change block settings from the Gutenberg editor's right sidebar.

Will this plugin slow down my site?

No. The plugin is lightweight and its optimized assets load only on pages where a block is actually used.

How many times can I reuse the block?

You can use the block an unlimited number of times.

Where can I get support?

You can post your questions on the support forum here.

更新日志:

1.1.5 - 13 July, 2026 1.1.4 - 12 July, 2026 1.1.3 - 5 July, 2026 1.1.2 - 29 June, 2026 1.1.0 - 23 June, 2026 1.0.3 - 14 Oct, 2025 1.0.2 - 27 April, 2025 1.0.1 - 22 April, 2025 1.0.0