百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

code-block-pro

> 开发工具
开源

一个使用 VS Code 提供语法高亮的 Gutenberg 代码块

192 stars0 点赞5 次浏览
访问官网GitHub

工具介绍

一个使用 VS Code 提供语法高亮的 Gutenberg 代码块

Code highlighting powered by the VS Code engine

Read more at code-block-pro.com

View all themes at code-block-pro.com/themes

View this block plugin on WordPress.org

Features

  • Includes 25+ built-in themes to choose from.
  • Supports over 140 programming languages
  • Optionally load programming fonts
  • Line numbers
  • Line highlighting (static and on hover)
  • Blur highlighting (with reveal on hover)
  • Header styles
  • Footer styles
  • Optionally add a copy button to let users copy the code
  • Native Gutenberg block output - no special requirements
  • Core functionality works in headless mode (see FAQ)
  • Supports converting from the default code block

Tips

  • Try combining line highlighting with the blur effect to add some extra depth
  • All settings are per block, but some settings are remembered when you add the next block.
  • Add a link in the code footer (some footers support this, not all) that points to a https://codepen.io demo.

Example Screenshots

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptgutenberggutenberg-blocksshikisyntax-highlighting

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类开发工具
定价开源

> 相关工具

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具