Linux 软件免费装
Banner图

Code Block – share beautiful code snippets readers can copy

开发者 bplugins
abuhayat
btechnologies
prosanta10
freemius
更新时间 2026年7月26日 21:35
捐献地址: 去捐款
PHP版本: 6.5 及以上
WordPress版本: 7.0
版权: GPLv3 or later
版权网址: 版权信息

标签

snippets block code gutenberg block code highlight

下载

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 Why Code Snippets Block? Code Snippets Block is a lightweight Gutenberg plugin that displays programming code in WordPress with syntax highlighting, copy-to-clipboard functionality, and customizable themes. Whether you're sharing PHP, JavaScript, Python, HTML, CSS, JSON, or SQL, your snippets stay readable, consistent, and easy to copy with a single click. Perfect for developers, educators, technical writers, and bloggers, it makes code examples, developer documentation, programming tutorials, and technical guides look clean and professional – with pre-styled themes to match your site's design. Built specifically for WordPress and Gutenberg, the plugin is responsive, SEO-friendly, and loads its optimized assets only when a block is on the page, keeping your site lightning-fast. 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 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