Kodosvet Code Block
Lightweight Gutenberg code block with Highlight.js syntax highlighting, smart language detection, and a built-in legacy block migrator.
Use with caution
Kodosvet Code Block works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 54/100 on our health check.
- Tested with the latest WordPress (7.1)
- Small user base (<10 active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release β each site that auto-updates counts as a download.
Rankings
Where Kodosvet Code Block stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| code | >100 |
| code block | >100 |
| developer | >100 |
| gutenberg | >100 |
| syntax highlighting | >100 |
About Kodosvet Code Block
From the official readme Β· v1.1.0Description
Kodosvet Code Block is a zero-bloat Gutenberg block for displaying code with syntax highlighting powered by Highlight.js.
Key Features:
- Native Gutenberg Block β Full support for the visual editor with Server-Side Rendering.
- 14 Color Themes β Atom One, GitHub, Monokai, Dracula, Nord, VS Code, Stack Overflow, Night Owl, Gruvbox, Solarized, Panda, Tomorrow Night, Shades of Purple, Tokyo Night.
- Smart Language Detection β Automatic language identification using multi-layered heuristics for PHP, Bash, JavaScript, SQL, JSON, XML, and more.
- Swift Guard β Prevents Highlight.js from misidentifying code as Swift.
- Dark/Light Toggle β Switch all code blocks on the page between dark and light themes with one click.
- Copy to Clipboard β One-click code copying with visual feedback.
- Line Numbers β Toggleable line number gutter.
- Legacy Migrator β Built-in tool to scan and convert old
core/codeandcore/preformattedblocks. - Zero Bloat β Assets are loaded only when a code block is present on the page.
- No jQuery β Pure Vanilla JS on the frontend.
Migrator Tool:
Navigate to Tools β Kodosvet Code Block to scan your site for legacy code blocks and migrate them to the modern Kodosvet format with a before/after preview.
Third-Party Libraries
Syntax highlighting is powered by Highlight.js 11.11.1, bundled locally in vendor/hljs/ (core build + 22 theme stylesheets). Highlight.js is licensed under the BSD-3-Clause License; the unminified source is available at github.com/highlightjs/highlight.js. No external requests are made at runtime.
Installation
- Upload the
kodosvet-code-blockfolder to/wp-content/plugins/. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- In the Block Editor, search for “Kodosvet” to insert a code block.
- Configure default theme and color palette under Tools β Kodosvet Code Block.
Changelog
Plugin renamed to Kodosvet Code Block for the WordPress.org directory. No data migration needed; existing blocks keep working.
1.1.0
- Renamed: plugin is now “Kodosvet Code Block” (slug
kodosvet-code-block). Internal identifiers (block namestodum/code-block, option names, CSS classes) are unchanged so existing content keeps working. - Removed: bundled translation files and
load_plugin_textdomain()β translations are handled by translate.wordpress.org. - Changed:
register_setting()sanitize callbacks usesanitize_key()+ strict whitelist comparison.
1.0.9
- Fixed: Migrator preview modal showed “undefined (undefined blocks)” instead of the post title and block count.
- Fixed: Missing translator comments and unescaped output flagged by Plugin Check;
$wpdb->prepare()call inlined. - Changed: Highlight.js script/style handles are now prefixed (
stodum-hljs-*) to avoid clashes with other plugins. - Changed: Block title now has a small gap from the brand label in the toolbar.
- Added:
Author URI,License URI, LICENSE file for the bundled Highlight.js, “Third-Party Libraries” section in readme. - Added: JS translation JSON for the block editor (
wp i18n make-json); POT/ru_RU refreshed. - Tested up to WordPress 7.0.
1.0.8
- Changed: Highlight.js is now bundled locally (vendor/hljs/). CDN dependency removed. Plugin is now fully self-contained and compatible with WordPress.org guidelines.
1.0.7
- Fixed: Block now uses
get_block_wrapper_attributes()for proper wide/full alignment support. - Fixed: Migrator creates revisions via
wp_update_post(). - Fixed: Migrate All AJAX array serialization.
- Fixed: All editor strings now translatable.
- Added:
uninstall.phpfor clean removal. - Removed: Debug console.log output.
1.0.6
- Fixed: Complete rewrite of editor language detection with working Smart Heuristics.
1.0.5
- Added: Smart Language Heuristics for PHP, Bash, JavaScript.
Screenshots
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own β no account needed.
Best Kodosvet Code Block alternatives
All code plugins βFAQ
Kodosvet Code Block: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Kodosvet Code Block free?
Yes. Kodosvet Code Block is free to download and use from the official WordPress.org plugin directory.
Is Kodosvet Code Block safe to use in 2026?
Kodosvet Code Block works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 54/100 on our health check.
How many websites use Kodosvet Code Block?
Kodosvet Code Block is active on <10 WordPress websites and has been downloaded 249 times since it launched in August 2026. It was downloaded 59 times in the last 30 days.
Does Kodosvet Code Block work with WordPress 7.1?
Yes. The developer has tested Kodosvet Code Block up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.
What PHP version does Kodosvet Code Block need?
Kodosvet Code Block requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Kodosvet Code Block last updated?
The latest version, 1.1.0, was released on August 25, 2026 (3 months ago).
Who makes Kodosvet Code Block?
Kodosvet Code Block is developed and maintained by kotophalk.
What are the best alternatives to Kodosvet Code Block?
The most popular alternatives to Kodosvet Code Block are WPCode (3M+ installs), Code Snippets (1M+ installs) and Head & Footer Code (100K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
