Title: Urvanov Syntax Highlighter
Author: urvanov
Published: <strong>23 novembro, 2019</strong>
Last modified: 14 março, 2026

---

Pesquisar plugins

![](https://s.w.org/plugins/geopattern-icon/urvanov-syntax-highlighter.svg)

# Urvanov Syntax Highlighter

 Por [urvanov](https://profiles.wordpress.org/urvanov/)

[Baixar](https://downloads.wordpress.org/plugin/urvanov-syntax-highlighter.2.9.1.zip)

 * [Detalhes](https://br.wordpress.org/plugins/urvanov-syntax-highlighter/#description)
 * [Avaliações](https://br.wordpress.org/plugins/urvanov-syntax-highlighter/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/urvanov-syntax-highlighter/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/urvanov-syntax-highlighter/#developers)

 [Suporte](https://wordpress.org/support/plugin/urvanov-syntax-highlighter/)

## Descrição

Recriação do Crayon Syntax Highlighter. Em alguns lugares na documentação e na interface
do usuário ainda pode se parecer com o Crayon. Não se espante com isso.

Use o bloco especial Urvanov Syntax Highlighter em novos posts. Não use o bloco 
de código padrão.

[Watch how to use the plugin](https://www.youtube.com/watch?v=2aBtVJOOqqA):

Um Marcador de Sintaxe construído em PHP e jQuery que suporta linguagens e temas
personalizáveis.
 Ele pode destacar a partir de uma URL ou texto de post do WordPress.
O Crayon facilita o gerenciamento de arquivos de linguagens e define elementos de
linguagens personalizados com expressões regulares. Ele também oferece suporte a
alguns recursos interessantes, como:

 * [Editor de temas integrado!](http://aramk.com/blog/2012/12/27/crayon-theme-editor/)
 * [Editor de tags](http://aramk.com/blog/2012/03/25/crayon-tag-editor/) nos editores
   Visual e HTML
 * Código simples alternado
 * Números de linha alternados
 * Copiar/colar código
 * Abrir código em uma nova janela (popup)
 * Quebra de linha
 * Expansão de código
 * Minimizando
 * Suporte a bbPress 2
 * [Conversão de código legado em posts/comentários de blog para <pre>](http://aramk.com/blog/2012/09/26/converting-legacy-tags-to-pre/)
 * Cache de solicitação remota
 * [Marcadores de linguagem mista](http://aramk.com/blog/2011/12/25/mixed-language-highlighting-in-crayon)
   em um único Crayon
 * [Mini Tags](https://github.com/urvanov-ru/crayon-syntax-highlighter/wiki/Mini-Tags-and-Plain-Tags-in-Crayon)
   como [ php][/php]
 * [Tags inline](https://github.com/urvanov-ru/crayon-syntax-highlighter/wiki/Inline-Tags,-%60Backquotes%60-and-Crayons-in-Comments)
   flutuando em frases
 * Crayons nos comentários
 * `Aspas` se tornam <código>
 * suporte à tag <pre> , opção para usar `setting-value` na classe atributo
 * Marcação HTML 5 válida
 * [Compatível com editor Visual & HTML](http://aramk.com/blog/2012/03/25/crayon-tag-editor/)
 * Detecção de dispositivo móvel/tela sensível ao toque
 * Interação de evento do mouse (mostrando código simples ao clicar duas vezes, 
   barra de ferramentas ao passar o mouse)
 * Tab sizes
 * Título do código
 * Toggled toolbar
 * Botões retina
 * Linhas listradas
 * Marcação de linha (para linhas importantes)
 * [Intervalos de linhas (mostrando apenas partes do código)](http://aramk.com/blog/2012/09/02/line-ranges-in-crayon/)
 * Número da linha inicial (o padrão é 1)
 * Detecção de extensão de arquivo
 * Visualização simultânea nas configurações
 * Dimensões, margens, alinhamento, tamanho da fonte, altura da linha, flutuação
 * Extenso registro de erros

**Links**

 * [Versões Beta](https://github.com/urvanov-ru/crayon-syntax-highlighter)
 * [Demonstração de temas](http://aramk.com/blog/2012/12/27/crayon-theme-editor/)
 * [Projeto GitHub](https://github.com/urvanov-ru/crayon-syntax-highlighter)

**Contribuições**

Existem muitas maneiras de você ajudar!

 * Crie um tema e compartilhe
 * Adicione suporte para sua [linguagem](http://aramk.com/blog/2011/09/23/crayon-language-file-specification/)
   favorita
 * Escreva um post sobre suas experiências e compartilhe
 * [Donate](https://yoomoney.ru/to/41001288941320) to the project

**Linguagens suportadas**

As linguagens são definidas em arquivos de linguagens usando expressões regulares
para capturar elementos.
 Consulte o [Especificação do arquivo de linguagens do Crayon ](http://aramk.com/blog/2011/09/23/crayon-language-file-specification/)
para aprender a criar o seu próprio arquivo.

 * Idioma padrão (tamanho único, destaca o código genérico)
 * C1 (graças a [Oparin Pavel](http://oparin.info/))
 * ABAP
 * ActionScript
 * AmigaDOS (graças a [amigalog.com](http://www.amigalog.com/))
 * Apache
 * AppleScript
 * Arduino
 * Assembly (x86)
 * AutoIt
 * C
 * C#
 * C++
 * Clojure (graças a [](https://github.com/mberndtgen))
 * CoffeeScript (graças a [Dai Akatsuka](http://firn.jp/crayon-coffeescript))
 * CSS
 * Delphi/Pascal (graças a [Chris McClenny](http://squashbrain.com/))
 * Delphi Web Script (graças a [smartmobilestudio](http://www.smartmobilestudio.com))
 * Diff (graças a [omniavin](http://omniavin.co/post/262))
 * Erlang (graças a [Daniel](http://netroid.de/))
 * Fabric Engine KL (graças a [Andrew Hazelden](https://github.com/AndrewHazelden))
 * Go
 * Haskell
 * HTML (XML/XHTML)
 * INI
 * Lisp
 * Lua
 * Maya MEL (graças a [Andrew Hazelden](https://github.com/AndrewHazelden))
 * Microsoft Registry (graças a [techexplored.com](http://techexplored.com/2012/03/21/crayon-syntax-highlighter-reg-support/))
 * MIVA Script
 * Monkey (graças a [Devolonter](https://github.com/devolonter))
 * MS-DOS (graças a [http://www.amigalog.com/?p=334](http://www.amigalog.com/?p=334))
 * MySQL (graças a [AssemblySys.com](http://assemblysys.com/) e [ansas- meyer.de](http://ansas-meyer.de/))
 * Java
 * JavaScript
 * Objective-C
 * Papyrus
 * Perl
 * PHP
 * PL/SQL
 * PostgreSQL (graças a [Bitorchestra](http://bitorchestra.com/))
 * PowerShell
 * Python
 * R
 * Ruby
 * Rust (graças a [Stibbons](https://github.com/Stibbons))
 * Scheme (graças a [Harry75369](https://github.com/harry75369))
 * Shell (Unix)
 * Swift (graças a [weyhan](https://github.com/weyhan))
 * Transact-SQL
 * TeX
 * Verilog (graças a [Goran Devic](https://github.com/gdevic))
 * Vim
 * Visual Basic
 * Visual Basic .NET (graças a [Kevin Gardthausen](https://github.com/OomJan/crayon-lang-vbnet))
 * YAML
 * ZSH (graças a [Stibbons](https://github.com/Stibbons))
 * Outros serão adicionados quando solicitados

**Idiomas **

 * Árabe (graças a Djennad Hamza),
 * Brasil Portuguese translation from Eric Sornoso (https://mealfan.com)
 * Chinês simplificado (graças a [Dezhi Liu](http://smerpup.com/) e Jash Yin)
 * Chinês tradicional (graças a [Arefly](http://www.arefly.com/))
 * Holandês (graças a [Robin Roelofsen](https://twitter.com/RobinRoelofsen) e [ Chilion Snoek](https://twitter.com/#!/chilionsnoek))
 * Finlandês (graças a [vahalan](https://github.com/vahalan))
 * Francês (graças a [Victor Felder](https://vhf.github.io))
 * Alemão (graças a [Stephan Knauß](http://www.technologyblog.de/))
 * Italiano (graças a [Federico Bellucci](http://www.federicobellucci.net/))
 * Japonês (graças a [@west_323](https://twitter.com/#!/west_323) e Jin Koyama de
   https://tabibitojin.com/)
 * Coreano (graças a [dokenzy](https://github.com/dokenzy))
 * Lituano (graças a Vincent G)
 * Norueguês (graças a [Jackalworks](http://www.jackalworks.com/blogg))
 * Persa (graças a MahdiY)
 * Polonês (graças a [Bartosz Romanowski](https://github.com/toszcze), [Robert Korulczyk](http://rob006.net/)
   a>)
 * Português (graças a [Adonai S. Canez](http://www.adonai.eti.br) e [Eric S from Mealfan.com](https://mealfan.com))
 * Russo (graças a [Minimus](http://simplelib.com) & [Di_Skyer](http://atlocal.net/))
 * Eslovaco (graças a Branco, [webhostgeeks/](https://twitter.com/#!/webhostgeeks))
 * Esloveno (graças a Jan Sušnik, [http://jodlajodla.si/](http://jodlajodla.si/))
 * Espanhol (graças a [Hermann Bravo](http://www.hbravo.com/))
 * Tamil (graças a KKS21199)
 * Turco (graças a [Hakan](http://hakanertr.wordpress.com))
 * Ucraniano (graças a [Michael Yunat](http://getvoip.com/blog))
 * A ajuda de tradutores para melhorar/adicionar a esta lista é muito importante!

**Artigos**

Eles são úteis para descobrir novos recursos (os links não funcionam. TODO: pense
em movê-lo para o meu site).

 * [Gerenciamento de post interno no Crayon](http://aramk.com/blog/2012/09/26/internal-post-management-crayon/)
 * [Conversão de tags herdadas em <pre>](http://aramk.com/blog/2012/09/26/converting-legacy-tags-to-pre/)
 * [Crayon com bbPress](http://aramk.com/blog/2012/09/08/crayon-with-bbpress/)
 * [Intervalos de linhas no Crayon](http://aramk.com/blog/2012/09/02/line-ranges-in-crayon/)
 * [Editor de tags Crayon](http://aramk.com/blog/2012/03/25/crayon-tag-editor/)
 * [Marcador de linguagens misto no Crayon](http://aramk.com/blog/2011/12/25/mixed-language-highlighting-in-crayon/)
 * [Mini Tags e Plain Tags em Crayon](https://github.com/urvanov-ru/crayon-syntax-highlighter/wiki/Mini-Tags-and-Plain-Tags-in-Crayon)
 * [Tags inline](https://github.com/urvanov-ru/crayon-syntax-highlighter/wiki/Inline-Tags,-%60Backquotes%60-and-Crayons-in-Comments)
 * [Enfileirando temas e fontes no Crayon](https://github.com/urvanov-ru/crayon-syntax-highlighter/wiki/Enqueuing-Themes-and-Fonts-in-Crayon)

**Imprensa**

Uma série de artigos sobre Crayon, obrigado pessoal!

 * [Crayon Syntax Highlighter Plugin Theme Color Previews](http://thedigitalhippies.com/digital/crayon-syntax-highlighter-plugin-theme-color-previews-demo/)
 * [Usando Plugin Crayon Syntax Highlighter WordPress para postar trechos de código em seu blog](http://www.webworkgarage.com/2013/07/using-crayon-syntax-highlighter-wordpress-plugin-to-post-code-snippets-on-your-blog/)
 * [Como postar código-fonte no WordPress](http://www.jjpro.net/2013/01/13/how-to-post-source-code-on-wordpress-2/)
 * [Syntax highlighter alterado para Crayon](http://www.emanueleferonato.com/2013/02/01/syntax-highlighter-switched-to-crayon/)
 * [5 melhores plugins de marcador de sintaxe para WordPress](http://www.wordpressthemeshq.net/5-best-syntax-highlighter-plugins-for-wordpress/)
 * [Como postar código-fonte no WordPress](http://amecylia.com/how-to-post-source-code-wordpress/)
 * [Os 5 principais plugins de marcador de sintaxe do WordPress](http://icrunched.co/top-5-syntax-highlighter-wordpress-plugins/)
 * [Crayon Syntax Highlighter � Plugin](http://themesplugins.com/wordpress-Plugin/add-php-java-html-codes-posts-pages/)
 * [Status do suporte ao marcador de sintaxe no bbPress 2](https://bbpress.org/forums/topic/state-of-syntax-highlighter-support-in-bbpress-2/)
 * [O plugin definitivo para exibir código no WordPress (francês)](http://www.techbrunch.fr/informations/plugin-wordpress-afficher-code-source/)
 * [Finalmente!, Um marcador de sintaxe de código WordPress que funciona](http://www.trynull.com/2012/06/15/finally-wordpress-code-syntax-highlighting-that-works/)
 * [Crayon Syntax Highlighter](http://selfpwnt.com/crayon-syntax-highlighter-and-its-studly-author/)
 * [Adicione código à seus posts do WordPress com o Crayon Syntax Highlighter](http://bit51.com/add-code-to-your-wordpress-posts-with-crayon-syntax-highlighter/)
 * [15 melhores plugins WordPress de destaque de sintaxe](http://www.wpsquare.com/syntax-highlighter-wordpress-plugins/)
 * [Exibindo código no WordPress com Crayon ](http://www.doitwithwp.com/displaying-code-in-wordpress-with-crayon-syntax-highlighter/)
 * [ABAP Syntax Highlighting no WordPress (alemão)](http://blog.boxedpages.net/2012/03/15/abap-syntaxhighlighting-in-wordpress/)
 * [Plugin Crayon Syntax Highlighter](http://jstips.org/2012/04/23/crayon-syntax-highlighter-plugin/)
 * [Crayon Syntax Highlighter (russo)](http://infodrug.ru/wordpress/kak-krasivo-vstavit-programmnyj-kod-v-wordpress-podsvetka-sintaksisa.html)
 * [Crayon Syntax Highlighter (também russo)](http://n-wp.ru/11513)
 * [Como postar código-fonte](http://kampungtoys.com/tag/crayon-syntax-highlighter/)
 * http://wp-best-practices.asdf573189.com/home/good-plugins/crayon-syntax-highlighter/
 * http://www.wplover.com/2155/crayon-syntax-highlighter-plugin/
 * http://www.htmlandphp.com/scripts/crayon-syntax-highlighter.html

**Doações**

Obrigado a todos aqueles que doam para o projeto:

 * Kay Bothfeld, (https://www.scio.de), Alemanha
 * Sevim Tunc, Reino Unido
 * Andreas Hauck, Alemanha
 * Felipe Tonello, Reino Unido
 * Zeyi Wang, EUA
 * Michal Owsiak, (http://owsiak.org), Polônia
 * Andres Castano, (http://acastano.com), EUA
 * Alok Choudhary, (http://alokchoudhary.com), EUA
 * Joe Sabate, Espanha
 * Kai Chen, Canadá
 * Chen Kaiyuan, China
 * Kamarul Musa, Malásia
 * WallyWare, Inc., (https://pi-plates.com), EUA
 * Stéphane Rochat, (http://stephanerochat.ch), Suíça
 * Brennan Hale-Matthews, Canadá
 * Robert Giczewski, (http://www.lazydaemon.de/), Alemanha
 * Hoke Media, (http://hoke.media/), EUA
 * Matthew Hood, Austrália
 * Brian Williams, EUA
 * Christian Martens, (http://insgesamt.net/), Alemanha
 * Nilesh Govindrajan, (http://nileshgr.com/), Índia
 * Zeng Chun Yang, China
 * Alan Kaplan, (http://www.akaplan.com/blog), EUA
 * Christopher Yarbrough, (http://chrisyarbrough.com/), Alemanha
 * Johann Weiher, (http://codequartett.de/), Alemanha
 * Samuel Deering, Austrália
 * Billiard Greg, (http://billiardgreg.com/), EUA
 * Performance Simulations, (http://www.performancesimulations.com/), EUA
 * Lindsay Ross, (http://gravelrash.com), Nova Zelândia
 * Ruperto Coronado Muñoz, México
 * Stefan Onderka, (http://www.onderka.com), Alemanha
 * Peter Kellner, (http://peterkellner.net), EUA
 * Open Hardware Design Group LLC, (http://opensourcehardwaregroup.com/), EUA
 * Helen McManus, (http://invisiblepixels.org/InvisibleWords/), Holanda
 * Thomas Fee, Reino Unido
 * Julie Knowles, (http://knowlesfamily.com/), EUA
 * Peter Kriegel, (http://www.powershell-group.eu/), Alemanha
 * Geo My WP, (http://geomywp.com), EUA
 * Rafael Vogler, Alemanha
 * Erdal Cicek, Turquia
 * Cloud-VPS, Polônia
 * Łukasz Bereza, Polônia
 * Laurence Scotford, Reino Unido
 * Goretity Árpád László, (http://h2co3.org/blog), Hungria
 * AdsProvider, EUA
 * Alicia Ramirez, (http://aliciaramirez.com/), Canadá
 * William Eisert, EUA
 * Inappix Development, (http://www.inappix.com/), Suíça
 * Stephen Sant, (http://thesantfamily.net/), Reino Unido
 * David Rodriguez, (http://davidarodriguez.com/), EUA
 * Chris Moore, (http://moorecreativeideas.com/), EUA
 * Sohail Ahmed, (http://sohail.io.com/), EUA
 * Vanessa Garcia Espin, Espanha
 * Samad Malik, (http://samadmalik.com/), EUA
 * Wabbit Wanch Design, (http://www.wabbitwanch.com/), Canadá
 * Inopox Ltd, (http://inopox.com/), Chipre
 * Kho Minh Vi, (http://khominhvi.com/), Reino Unido
 * Ivan Churakov, Rússia
 * Carla Macías González, México
 * Saulius Stonys, Lituânia
 * Konstantin Sabel, Alemanha
 * Luigi Massa, (http://bwlab.it/), Itália
 * Anthony Steiner, (http://steinerd.com/), EUA
 * Alexander Harvey, (http://alexharvey.eu/), Reino Unido
 * Minhazul Haque Shawon, Chipre
 * Raam Dev, (http://raamdev.com/), EUA
 * Scot Ranney, (http://scotsscripts.com/), EUA
 * Nico Hartung, (http://www.loggn.de/), Alemanha
 * Joseph De Venuta, EUA
 * Ivan Prego Garcia, Espanha
 * Johannes Luijten, (http://www.tweaking4all.com/, http://www.weethet.nl/), EUA
 * Jack Fruh, (http://basementjack.com/), EUA
 * Ross Barbieri, EUA
 * Will, Simple Phishing Toolkit (http://www.sptoolkit.com/), EUA
 * Tricia Aanderud, EUA
 * Tarek Sakr, (http://centrivision.com/), EUA
 * Jeff Benshetler, (http://branchpoint.net/), EUA
 * Oldrich Strachota, (http://www.strachota.net/), República Tcheca
 * Dividend Ninja, (http://dividendninja.com/), Canadá
 * Chris Wiegman, (http://bit51.com/), EUA
 * Sven Meier, (http://www.codesix.net/), Alemanha
 * Christy Wiggins, (http://www.jinxyisms.com/), EUA
 * eSnipe, Inc. (http://esnipe.com/), EUA (de novo!)
 * Aliseya Wright, (http://blog.xoxothemes.com/), EUA
 * Jeremy Worboys (http://complexcompulsions.com/), Austrália
 * Steve McGough, Spider Creations, LLC. (http://spidercreations.net/), EUA
 * eSnipe, Inc. (http://esnipe.com/), EUA
 * Gerald Drouillard (http://www.drouillard.biz/), EUA
 * Greg Pettit (http://blog.monkey-house.ca/), Canadá
 * Waimanu Solutions (http://daveblog.waimanu.web44.net/), EUA
 * Andrew McDonnell (http://blog.oldcomputerjunk.net/), Austrália
 * Perry Bonewell (http://pointatthemoon.co.uk/), Reino Unido
 * Nick Weisser (http://www.openstream.ch/), Suíça

## Blocos

Este plugin disponibiliza 1 bloco.

 *   Urvanov Syntax Highlighter

## Instalação

 * Baixe o .zip do plugin e extraia o conteúdo.
 * Faça o envio para o diretório de plugins do WordPress e ative o plugin.
 * Ainda mais fácil, basta acessar **Plugins > Adicionar novo** e pesquisar por “
   Urvanov Syntax Highlighter”.
 * Você pode alterar as configurações e visualizar ajuda em **Configurações > Crayon**
   no Administrador do WordPress.
 * Certifique-se de que seu tema especifique manualmente o jQuery ou use a versão
   fornecida com o WordPress (recomendado). Você NÃO deve adicionar o jQuery manualmente
   no cabeçalho como uma tag script. [Colocar na fileira do WordPress](http://wordpress.stackexchange.com/questions/1535/how-to-dequeue-a-script)
   evitará inclusões jQuery duplicadas (não recomendado) e permitirá outros scripts
   serem colocados APÓS o jQuery na tag head para que possam ser utilizados. Se 
   você não tiver certeza, deixe o WordPress lidar com isso e remova quaisquer tags
   de script jQuery que você encontrar no header.php do seu tema.
 * Crayon inline e os blocos devem funcionar por padrão.
 * Não use bloco de código padrão em novos posts. Use o bloco especial Urvanov Syntax
   Highlighter no editor Gutenberg.

## Perguntas frequentes

Consulte a [documentação](https://github.com/urvanov-ru/crayon-syntax-highlighter)
para obter todos os detalhes.

### Apoiar

Entre em contato comigo em http://twitter.com/crayonsyntax ou crayon.syntax@gmail.
com.

## Avaliações

![](https://secure.gravatar.com/avatar/81d6cd29d711b1b8f768e3f31b7493de331a70168494303d83b73c2dbeca125c?
s=60&d=retro&r=g)

### 󠀁[useless for classic editor users](https://wordpress.org/support/topic/useless-for-classic-editor-users/)󠁿

 [audioscavenger](https://profiles.wordpress.org/audioscavenger/) 11 abril, 2024
1 resposta

How about the other half of Wordpress users? We stink or what?

![](https://secure.gravatar.com/avatar/e36a035d7921a80ed4841dff3d69a16f1a02da6ee1efbce6e014dcb3fae8ac4e?
s=60&d=retro&r=g)

### 󠀁[Very usefull plugin](https://wordpress.org/support/topic/very-usefull-plugin-162/)󠁿

 [vasimov](https://profiles.wordpress.org/vasimov/) 22 fevereiro, 2024 1 resposta

Im using it in wordpress 6.4.3. But there is one important thing: it doesnt work
with default editor. I installed plugin Classic Editor, now it's working great!

![](https://secure.gravatar.com/avatar/386b82f5346b001b9b9616c13af7016f2d2b046ef20a1b8d433154a6b35de93e?
s=60&d=retro&r=g)

### 󠀁[Wonderfull](https://wordpress.org/support/topic/wonderfull-131/)󠁿

 [erden15](https://profiles.wordpress.org/erden15/) 5 novembro, 2023

I like it a lot. It works great.

![](https://secure.gravatar.com/avatar/fea61b0893c2ac683b98b9679d5a376d1f2d86b0c4a41ee1550646a796cff28c?
s=60&d=retro&r=g)

### 󠀁[AMAZINg!](https://wordpress.org/support/topic/amazing-3333/)󠁿

 [pjohnst5](https://profiles.wordpress.org/pjohnst549/) 31 dezembro, 2021

This plugin is literally the best one out there. Of all the ones I have reviews (
many) this one has all the features, and MORE!!! Awesome, absolutely phenomenal 
Must have – copy button ✅ – languages ✅ Bash, c#, Docker, JSON, Go, Powershell,
Python Would be nice – in-line support ⭐️ – Multi-line has folding option ⭐️ ____________________________________________
1. Enlighter 2. My Syntax Highlighter 3. Syntax Highlighter for Theme/Plugin Editor
4. Prismatic 5. SyntaxHighlighter Evolved 6. Highlighting Code Block 7. CodeMirror
Blocks 8. WP Githuber MD – WordPress Markdown Editor 9. Urvanov Syntax Highlighter
10. Code Syntax Block 11. Syntax-Highlighting Code Block 12. Markdown pure 1. Enlighter–
copy button ✅ – languages ✅ – in-line-support ⭐ – multi-line folding ❌ Gutenberg
looks pretty verbose 7. CodeMirror Blocks – copy button ✅ – languages ✅ – in-line-
support ❌ – multi-line folding ❌ Looks really nice Themes I like: Lesser-dark,
do they have vscode theme?, Lucario, Material, Mbo, Monokai 9. Urvanov Syntax Highlighter–
copy button ✅ – languages ❌ No docker buuut… – in-line-support ✅ – multi-line
folding 🌟 10. Code Syntax Block – copy button – languages – in-line-support – multi-
line folding 11. Syntax-Highlighting Code Block – copy button – languages – in-line-
support – multi-line folding ################ No thanks ########################
12. HTML Editor Syntax Highlighter❌ Not even a frontend highlighter – copy button–
languages – in-line-support – multi-line folding 2. My Syntax Highlighter – copy
button ❌ – languages 🟡 (have to pay) – in-line-support – multi-line folding 🌟
3. Syntax Highlighter for Theme/Plugin Editor ❌ not even frontend highlighter –
copy button – languages – in-line-support – multi-line folding 4. Prismatic – copy
button ✅ – languages ❌ No docker, but has markdown – in-line-support ❌ – multi-
line folding ❌ Just didn't like it 5. SyntaxHighlighter Evolved – copy button ❌–
languages ❌ No bash or Dockerfile – in-line-support ❌ – multi-line folding ❌ 
not intuitive 6. Highlighting Code Block – copy button ✅ – languages ❌ No docker
and go, no YAML – in-line-support ❌ – multi-line folding ❌ 8. WP Githuber MD –
WordPress Markdown Editor – copy button ✅ – languages 🟡 doesn't highlight very
well – in-line-support ❌ – multi-line folding ❌ not intuitive Just don't like 
it Copy button was great though

![](https://secure.gravatar.com/avatar/c2f4feacf7b5039a1d75bbba9ae0ff73b9b1db5efe667e1ed651365487822d9a?
s=60&d=retro&r=g)

### 󠀁[Crayon resurrected](https://wordpress.org/support/topic/crayon-resurrected/)󠁿

 [Luis Alejandre](https://profiles.wordpress.org/luisalejandrewp/) 23 setembro, 
2021

Thank you so much, Fedor, for bringing Crayon´s features back to us without the 
need for any content changes and without the fear for PHP updates.

![](https://secure.gravatar.com/avatar/ec8b8422bb465ae8bc396e91e6078b8974b35a964447f8c8ecc86edf1ac2b281?
s=60&d=retro&r=g)

### 󠀁[Best code syntax highlighter](https://wordpress.org/support/topic/best-code-syntax-highlighter/)󠁿

 [RealMag777](https://profiles.wordpress.org/realmag777/) 11 agosto, 2021

Thank you for reincarnation of great plugin! I liked crayon plugin for years, but
it was abandoned and not works with PHP 8.

 [ Leia todas as 19 avaliações ](https://wordpress.org/support/plugin/urvanov-syntax-highlighter/reviews/)

## Colaboradores e desenvolvedores

“Urvanov Syntax Highlighter” é um programa de código aberto. As seguintes pessoas
contribuíram para este plugin.

Colaboradores

 *   [ urvanov ](https://profiles.wordpress.org/urvanov/)

Urvanov Syntax Highlighter” foi traduzido para 3 localidades. Agradecemos aos [tradutores](https://translate.wordpress.org/projects/wp-plugins/urvanov-syntax-highlighter/contributors)
por suas contribuições.

[Traduzir o “Urvanov Syntax Highlighter” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/urvanov-syntax-highlighter)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/urvanov-syntax-highlighter/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/urvanov-syntax-highlighter/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/urvanov-syntax-highlighter/)
por [RSS](https://plugins.trac.wordpress.org/log/urvanov-syntax-highlighter/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 2.9.1

 * FIXED
    - Backslash processing in string regular expression. (https://github.com/urvanov-
      ru/crayon-syntax-highlighter/issues/56)

#### 2.9.0

 * ADDED
    - Use parse_blocks instead of full text scan to support Gutenberg. For old posts
      created by Classic Editor use full text scan as before.

#### 2.8.40

 * FIXED
    - Fixed broken settings after 2.8.39

#### 2.8.39

 * FIXED
    - Fixed ‘Translations loaded too early error’ notice. (https://wordpress.org/
      support/topic/translations-loaded-too-early-error/)

#### 2.8.38

 * FIXED
    - moved load_textdomain to after_setup_theme, so that it loads after in…
    - Fix warning in the_content function

#### 2.8.37

 * FIXED
    - Warning message. PHP Deprecated: pathinfo(): Passing null to parameter #1 (
      https://wordpress.org/support/topic/passing-null-to-string-warning/)
    - Warning message. Trying to get property ‘comment_ID’ of non-object (https://
      wordpress.org/support/topic/comment_id-error/).

#### 2.8.36

 * FIXED
    - Bug in processing comments.

#### 2.8.35

 * FIXED
    - Added interpolated expressions highlighting to JavaScript language.
    - Warnings about global comment variable in comment highlighting.
    - Minified min.js files.

#### 2.8.34

 * ADDED
    - Added “Highlight code” setting in “Code” section of plugin settings.
 * FIXED
    - CSRF vulnerability in the theme editor and the tag editor. Added nonces.
    - Replaced deprecated jQuery “live” to jQuery “on”

#### 2.8.33

 * FIXED
    - Copy button should work even without “Toggle plain text” button.

#### 2.8.32

 * FIXED
    - Enabled “Copy” button for touch screens.

#### 2.8.31

 * FIXED
    - Removed my_custom_render

#### 2.8.30

 * FIXED
    - Made Urvanov_Syntax_Highlighter_Plugin::my_custom_render public and static.

#### 2.8.29

 * FIXED
    - Check HTTP_USER_AGENT existance in `$_SERVER` array

#### 2.8.28

 * ADDED
    - Green White theme from Di_Skyer (http://atlocal.net/)
    - Brasil Portuguese translation from Eric Sornoso (https://mealfan.com)
    - Zidingyi theme from seouc (http://www.seouc.com/)
 * FIXED
    - rob-stoecklein fix for KnowAll theme (https://github.com/urvanov-ru/crayon-
      syntax-highlighter/pull/37)

#### 2.8.27

 * ADDED
    - New japanese translation from Jin Koyama (https://tabibitojin.com/).

#### 2.8.26

 * FIXED
    - Copy button copied incorrect code for HTML entities.

#### 2.8.25

 * ADDED
    - Fixed some links to help page
 * FIXED
    - Copy button text.
    - Números de linha copiados quando você copiou o conteúdo da página

#### 2.8.24

 * ADDED
    - Updated copy button behaviour
    - Voltado para a função pronta do jQuery
    - leia-me atualizado

#### 2.8.23

 * ADDED
    - Kotlin support
    - Suporte a TypeScript

#### 2.8.22

 * ADDED
    - Basic example for a new block
 * FIXED:
    - error in JS log function

#### 2.8.21

 * ADDED
    - Removing jQuery. Replaced jQuery.ready to DOMContentLoaded

#### 2.8.20

 * FIXED
    - Simple release without any changes.

#### 2.8.19

 * FIXED
    - Replaced version_compare to standart PHP function.

#### 2.8.18

 * ADDED
    - More detailed log to version compare.

#### 2.8.17

 * FIXED
    - Version compare additional check is_countable.

#### 2.8.16

 * FIXED
    - Classic editor button should exists now.

#### 2.8.15

 * FIXED
    - A non well formed numeric value with Custom Font Size unchecked

#### 2.8.14

 * FIXED
    - Fix save post for REST API (For Gutenberg).

#### 2.8.13

 * FIXED
    - Some broken urls.

#### 2.8.12

 * FIXED
    - Site and donate url in class-urvanov-syntax-highlighter-global.php
    - Corrige marca no readme.txt
    - Destaque da sintaxe “Abrir código em nova janela”.

#### 2.8.11

 * FIXED
    - [BUG] Languages parsed with errors

#### 2.8.10

 * FIXED
    - Theme editor fixed.
    - Suporte para temas Crayon.

#### 2.8.9

 * FIXED:
    - Deprecated: implode(): Passing glue string after array is deprecated. Swap
      the parameters
    - Aviso: Um valor numérico não bem formado na class-urvanov-syntax-highlighter-
      formatter
    - Relatório de bug: ao adicionar `\(*)` nos códigos. Ele mostrará {{urvanov-
      syntax-highlighter-internal:0}}

#### 2.8.8

 * FIXED:
    - Fix invisible button in TinyMCE editor.
    - Corrige readme.txt
    - Corrige readme.md

#### 2.8.7

 * FIXED:
    - Only bug fixes with crayon inline.

#### 2.8.6

 * ADDED:
    - Refactored to fit WordPress Code Codex.
    - Renomeado para Urvanov Syntax Highlighter.
    - Suporte a PHP 7

#### 2.8.5

 * ADDED:
    - Verilog language, thanks to https://github.com/gdevic.
 * FIXED:
    - Moved header() call out of CrayonWP::highlight().
    - Renomeado MIXED para ALTERNATE para corrigir a compatibilidade com PHP7, graças
      a https://github.com/edwarddekker.

#### 2.8.4

 * ADDED:
    - CrayonWP::highlight() can return plain text instead of HTML. Used for AJAX
      requests to prevent
       XSS vulnerabilities.
 * FIXED:
    - Support for tags (e.g. formatting) in the HTML for CrayonWP::highlight(). 
      This affects
       bbPress. Only script tags and event attributes are stripped.

#### 2.8.3

 * FIXED:
    - header() use in CrayonWP::highlight()

#### 2.8.2

 * ADDED:
    - Plain white theme (thanks to http://vhbelvadi.com).

#### 2.8.1

 * ADDED:
    - Coy theme.
 * FIXED:
    - Strip tags in output content for CrayonWP::highlight()

#### 2.8.0

 * ADDED:
    - Qtcreator theme.
    - tradução norueguesa.
    - Tema Amity.
    - Tema Flat-UI.
    - Tema Powershell.
    - Tema Mm Dark Blue.
    - Prisma como tema.
    - Tema Kaderu.
    - Tema Kayot.
    - Tema Xcode.
    - Fonte Source Code Pro .
 * FIXED:
    - Polish translation and other fixes (thanks to https://github.com/rob006).

Truncated. Old changelog entries [archived on GitHub wiki](https://github.com/urvanov-ru/crayon-syntax-highlighter/wiki/changelog).

## Meta

 *  Versão **2.9.1**
 *  Última atualização **7 meses atrás**
 *  Instalações ativas **3.000+**
 *  Versão do WordPress ** 6.9 ou superior **
 *  Testado até **6.9.10**
 *  Idiomas
 * [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/urvanov-syntax-highlighter/),
   [English (US)](https://wordpress.org/plugins/urvanov-syntax-highlighter/), [Portuguese (Brazil)](https://br.wordpress.org/plugins/urvanov-syntax-highlighter/)
   e [Swedish](https://sv.wordpress.org/plugins/urvanov-syntax-highlighter/).
 *  [Traduzir para seu idioma](https://translate.wordpress.org/projects/wp-plugins/urvanov-syntax-highlighter)
 * Tags
 * [code](https://br.wordpress.org/plugins/tags/code/)[code highlighter](https://br.wordpress.org/plugins/tags/code-highlighter/)
   [highlighter](https://br.wordpress.org/plugins/tags/highlighter/)[highlighting](https://br.wordpress.org/plugins/tags/highlighting/)
   [syntax highlighter](https://br.wordpress.org/plugins/tags/syntax-highlighter/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/urvanov-syntax-highlighter/advanced/)

## Classificações

 4.5 de 5 estrelas.

 *  [  16 avaliações com 5 estrelas     ](https://wordpress.org/support/plugin/urvanov-syntax-highlighter/reviews/?filter=5)
 *  [  1 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/urvanov-syntax-highlighter/reviews/?filter=4)
 *  [  0 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/urvanov-syntax-highlighter/reviews/?filter=3)
 *  [  0 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/urvanov-syntax-highlighter/reviews/?filter=2)
 *  [  2 avaliações com 1 estrelas     ](https://wordpress.org/support/plugin/urvanov-syntax-highlighter/reviews/?filter=1)

[Sua avaliação](https://wordpress.org/support/plugin/urvanov-syntax-highlighter/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/urvanov-syntax-highlighter/reviews/)

## Colaboradores

 *   [ urvanov ](https://profiles.wordpress.org/urvanov/)

## Suporte

Problemas resolvidos nos últimos dois meses:

     0 de 1

 [Ver fórum de suporte](https://wordpress.org/support/plugin/urvanov-syntax-highlighter/)

## Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

 [ Doe para este plugin ](https://yoomoney.ru/to/41001288941320)