跳到内容

Zeddotes Enhanced Code Block

v1.0.0

zeddotes · 2026年8月11日 上架

Extends the core Code block with language selection (Prism.js) and a configurable copy button.

正在使用
10 以下
评分
暂无
累计下载
247
最近更新
2026年8月11日
需要 WordPress 6.0+已测试到 7.0.9PHP 7.4+

贡献者

Zeddotes Enhanced Code Block adds inspector controls to the WordPress core Code block:

  • Language select with Prism.js highlighting in the editor and on the frontend
  • Optional line numbers
  • Tab key indents inside the block (Shift+Tab outdents); optional spaces instead of tabs
  • Configurable tab size (2 / 4 / 8)
  • Optional copy button before or after the code block, aligned left / center / right (or hidden)

No separate block type — authors keep using the standard Code block.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums