wp-syntax-highlighter
WP-Syntax-Highlighter is a WordPress plugin that brings the Highlight.js based source code syntax highlighting to WordPress. This plugin is compatible with any other syntax highlighter plugins that use Syntax…
Considere uma alternativa
wp-syntax-highlighter shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 12 years ago, and scores 23/100 on our health check.
- Pequena base de usuários (10+ instalações ativas)
- Muito poucos comentários até agora
- Nenhuma atualização em 12 anos
- Only tested up to WordPress 3.9 (latest is 7.1)
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 wp-syntax-highlighter stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| code highlighter | >100 |
| source highlighter | #65 |
| sourcecode highlighter | #8 |
| syntax highlighter | #94 |
Adoção da versão
Compartilhamento de sites ativos por lançamento.
About wp-syntax-highlighter
From the official readme · v0.5.1Descrição
WP-Syntax-Highlighter is a WordPress plugin that brings the Highlight.js based source code syntax
highlighting to WordPress. This plugin is compatible with any other syntax highlighter
plugins that use Syntax Highlighter, GeSHi
or Prismjs.
Créditos
- Thanks to Ivan Sagalaev and the highlight.js team for this excellent library.
Instalação
- Click Plugins > Add New in the WordPress admin panel.
- Search for “wp-syntax-highlighter” and install.
Customization
The plugin comes bundled with all the themes provided by Highlight.js.
Use the Theme dropdown to change the selected theme.
Additionally the plugin checks for a custom.css in your current
theme’s directory at {current_theme}/wp-syntax-highlighter/custom.css.
If this CSS file is present it will be added to the page automatically.
You can override any builtin theme’s styles in this manner.
To use a completely custom theme use the Custom option in Theme
dropdown. Now only your current theme’s custom.css will be used to style
the code blocks.
Códigos de acesso
Each language gets it’s own shortcode. You can use this to add code
blocks for that language into your posts.
For instance to add some PHP code into your post use,
[php]
foreach ($requirements as $requirement) {
$result = array(
'satisfied' => $requirement->check(),
'requirement' => $requirement
);
array_push($results, $result);
if (!$result['satisfied']) {
$success = false;
}
}
[/php]
Supported Languages
The following languages are currently supported by highlight.js.
- 1c
- Actionscript
- Apache
- Applescript
- Asciidoc
- Autohotkey
- Avrasm
- Axapta
- Bash
- Brainfuck
- Clojure
- Cmake
- Coffeescript
- Cpp
- CS
- CSS
- D
- Delphi
- Diff
- Django
- Dos
- Erlang
- Erlang-repl
- Fixar
- Fsharp
- Glsl
- Go
- Haml
- Handlebars
- Haskell
- Http
- Ini
- Java
- Javascript
- JSON
- Lasso
- Lisp
- Livecodeserver
- Lua
- Makefile
- Redução de preço
- Mathematica
- Matlab
- Mel
- Mizar
- Nginx
- ObjectiveC
- Ocaml
- Oxygene
- Parser3
- Perl
- Php
- Profile
- Python
- R
- Rib
- Rsl
- Ruby
- Ruleslanguage
- Rust
- Scala
- Scilab
- SCSS
- Smalltalk
- SQL
- Tex
- Vala
- Vbnet
- Vbscript
- Vhdl
- Xml
Note: Since WordPress shortcodes must be at least 2 characters long, for
language names shorter than 2 characters use the lang suffix.
Eg:- [dlang][/dlang]
Compatibility with other Syntax Highlighters
The plugin is completely compatible with other syntax highlighters.
It does not change the content of your existing posts. You can safely go
back to use your previous syntax highlighter after trying out
wp-syntax-highlighter.
Both Syntax Highlighter and GeSHi
and supported by default. Prism based syntax highlighters will also
work out of the box as they utilize the same markup as Highlight.js.
Log de Changes
WP-Syntax-Highlighter requires PHP 5.3.2+
0.5.1
- Upgrades to Arrow 1.8.0.
0.5.0
- Upgrades to Arrow 1.6.0.
- Updates Highlight.js to 8.1.
- Refreshes themes from Highlight.js repository.
- Cleaner build without development assets.
0.4.0
- Upgrades to Arrow 0.7.0
0.3.0
- Upgrades to Arrow 0.3.0.
0.2.2
- Fixes typos.
0.2.1
- Upgrades Arrow to 0.4.1.
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 wp-syntax-highlighter alternatives
All code highlighter plugins →FAQ
wp-syntax-highlighter: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: WordPress.org
Is wp-syntax-highlighter free?
Yes. wp-syntax-highlighter is free to download and use from the official WordPress.org plugin directory.
Is wp-syntax-highlighter safe to use in 2026?
wp-syntax-highlighter shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 12 years ago, and scores 23/100 on our health check.
How many websites use wp-syntax-highlighter?
wp-syntax-highlighter is active on 10+ WordPress websites and has been downloaded 2,325 times since it launched in May 2014. It was downloaded 48 times in the last 30 days.
Does wp-syntax-highlighter work with WordPress 7.1?
wp-syntax-highlighter is officially tested up to WordPress 3.9.40, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was wp-syntax-highlighter last updated?
The latest version, 0.5.1, was released on August 7, 2014 (12 years ago).
Who makes wp-syntax-highlighter?
wp-syntax-highlighter is developed and maintained by Darshan Sawardekar.
What are the best alternatives to wp-syntax-highlighter?
The most popular alternatives to wp-syntax-highlighter are HTML Editor Syntax Highligh… (60K+ installs), AH Code Highlighter (50+ installs) and iG:Syntax Hiliter (40+ 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
