Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/iwritec0de/drift-code-wp/archive/refs/heads/main.zipUpdates itself. It ships its own updater, so new versions appear under Dashboard → Updates.
Syntax Highlighting - Drift Code
A Gutenberg block for syntax highlighting.
Description
Drift Code is a Gutenberg Syntax Highlighter Block.
Features
- Syntax Highlighting in Gutenberg Post/Page Editor.
- Drift Themes that support Fira Code font with italic styling.
- Eight color themes spanning light and dark palettes.
- CSS custom property based theming — easy to extend.
- Transform to/from the core Code block.
Current Themes
- Drift Dawn
- Drift Dusk
- Drift Forest
- Drift Midnight
- Drift Morning
- Drift Ocean
- Drift Sage
- Drift Shore
Supported Languages
- Generic
- PHP
- HTML
- Shell
- SQL
- Python
- Ruby
- Lua
- JSON
- CSS
- Java
- JavaScript
- Go
- C#
- C
Frequently Asked Questions
Does it work with the Classic Editor?
No, currently there is no support for the classic editor. Syntax Highlighting is only available from the Gutenberg Editor.
Changelog
[1.0.0]
- Initial release.