This plugin is outdated and might not be supported anymore
PrettyCode • Code syntax highlighting with CodeMirror

PrettyCode • Code syntax highlighting with CodeMirror

Details
View on WordPress

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!

Details

Plugin code:
prettycode
Plugin version:
1.0.7
Outdated:
Yes
WP version:
5.8 or higher
PHP version:
7.0 or higher
Test up to WP version:
5.9.10
Total installations:
100
Last updated:
2022-03-11
Rating:
Times rated:
2
block