Kodosvet Code Block
Lightweight Gutenberg code block with Highlight.js syntax highlighting, smart language detection, and a built-in legacy block migrator.
Use com cautela
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.
- Testado com as últimas WordPress (7.1)
- Base de usuários pequenas (<10 instalações ativas)
- Muito poucos comentários até agora
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where Kodosvet Code Block stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| code | >100 |
| code block | >100 |
| developer | >100 |
| Gutenberg | >100 |
| syntax highlighting | >100 |
About Kodosvet Code Block
From the official readme · v1.1.0Descrição
Kodosvet Code Block is a zero-bloat Gutenberg block for displaying code with syntax highlighting powered by Highlight.js.
Características principais:
- 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.
Instalação
- Upload the
kodosvet-code-blockfolder to/wp-content/plugins/. - Ative o plugin através do menu 'Plugins' em WordPress.
- In the Block Editor, search for “Kodosvet” to insert a code block.
- Configure default theme and color palette under Tools → Kodosvet Code Block.
Log de Changes
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. - Testado até 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.
Capturas de tela
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best Kodosvet Code Block alternatives
All code plugins →FAQ
Kodosvet Code Block: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: 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).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito
