Kodosvet Code Block
Lightweight Gutenberg code block with Highlight.js syntax highlighting, smart language detection, and a built-in legacy block migrator.
Utiliser avec prudence
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.
- Testé avec le dernier WordPress (7.1)
- Petite base d'utilisateurs (<10Â installations actives)
- Très peu de critiques jusqu'à présent
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Kodosvet Code Block stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| code | >100 |
| code block | >100 |
| développeur | >100 |
| Gutenberg | >100 |
| syntax highlighting | >100 |
About Kodosvet Code Block
À partir du Lisez-moi officiel · v1.1.0Description
Kodosvet Code Block is a zero-bloat Gutenberg block for displaying code with syntax highlighting powered by Highlight.js.
Principales caractéristiques :
- 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.
Bibliothèques tierces
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
- Téléchargez le dossier
kodosvet-code-blockÃ/wp-content/plugins/. - Activez le plugin via le menu "plugins" dans WordPress.
- In the Block Editor, search for “Kodosvet” to insert a code block.
- Configure default theme and color palette under Tools → Kodosvet Code Block.
Journal de modifications
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. - Testé jusqu'à 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.
Captures d'écran
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Kodosvet Code Block alternatives
Tous les plugins de code →FAQ
Kodosvet Code Block: quick answers
Réponses directes, extraites des données en direct WordPress.org.
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).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
