plugin-icon

PrettyCode • Code syntax highlighting with CodeMirror

作者:maximebj·
A simple block to highlight code with 20+ languages and 50+ themes, for the WordPress editor.
评级
5/5
版本
1.0.7
活跃安装
100
最后更新
Mar 11, 2022
PrettyCode • Code syntax highlighting with CodeMirror

The prettiest syntax highlighting block for the WordPress editor. Live edit your code snippets in the admin with bracket matching, customize colors with more thant 50 themes (Base16, Monokai, Material, Zenburn, Hopscotch…). Compatible with major languages: HTML, CSS, JS, JSX, Stylus, Sass, PHP, Python, C, C++, C#, Java, XML, Shell, JSON, Go, Swift…

This block uses CodeMirror. You may have seen this block before on the Advanced Gutenberg Blocks plugins few years ago. It’s now an updated and standalone block.

Third Party

This plugins uses some third party libraries:

  • WordPress create-block by gziolo – https://www.npmjs.com/package/@wordpress/create-block
  • CodeMirror – https://github.com/codemirror/CodeMirror
  • react-codemirror2 by scniro – https://github.com/scniro/react-codemirror2

A big thanks to their respective creators and maintainers!

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 5.9.12
这个插件是可用的下载,适用于您的站点。