Title: Urvanov Syntax Highlighter
Author: urvanov
Published: <strong>November 23, 2019</strong>
Last modified: March 14, 2026

---

Search plugins

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

# Urvanov Syntax Highlighter

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

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

 * [Details](https://wordpress.org/plugins/urvanov-syntax-highlighter/#description)
 * [Reviews](https://wordpress.org/plugins/urvanov-syntax-highlighter/#reviews)
 *  [Installation](https://wordpress.org/plugins/urvanov-syntax-highlighter/#installation)
 * [Development](https://wordpress.org/plugins/urvanov-syntax-highlighter/#developers)

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

## Description

Reincarnation of Crayon Syntax Highlighter. Somewhere in documentation and in UI
it still shows like Crayon. Don’t be scrared of this.

Use special Urvanov Syntax Highlighter block in new posts. Don’t use standard Code
block.

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

A Syntax Highlighter built in PHP and jQuery that supports customizable languages
and themes.
 It can highlight from a URL, or WordPress post text. Crayon makes it
easy to manage Language files and define custom language elements with regular expressions.
It also supports some neat features like:

 * Integrated [Theme Editor!](http://aramk.com/blog/2012/12/27/crayon-theme-editor/)
 * [Tag Editor](http://aramk.com/blog/2012/03/25/crayon-tag-editor/) in both Visual&
   HTML editors
 * Toggled plain code
 * Toggled line numbers
 * Copy/paste code
 * Open code in a new window (popup)
 * Line wrapping
 * Code expanding
 * Minimizing
 * bbPress 2 support
 * [Converting legacy code in blog posts/comments to <pre>](http://aramk.com/blog/2012/09/26/converting-legacy-tags-to-pre/)
 * Remote request caching
 * [Mixed Language Highlighting](http://aramk.com/blog/2011/12/25/mixed-language-highlighting-in-crayon)
   in a single Crayon
 * [Mini Tags](https://github.com/urvanov-ru/crayon-syntax-highlighter/wiki/Mini-Tags-and-Plain-Tags-in-Crayon)
   like [php][/php]
 * [Inline Tags](https://github.com/urvanov-ru/crayon-syntax-highlighter/wiki/Inline-Tags,-%60Backquotes%60-and-Crayons-in-Comments)
   floating in sentences
 * Crayons in comments
 * `Backquotes` become <code>
 * <pre> tag support, option to use `setting-value` in the class attribute
 * Valid HTML 5 markup
 * [Visual & HTML editor compatible](http://aramk.com/blog/2012/03/25/crayon-tag-editor/)
 * Mobile/touchscreen device detection
 * Mouse event interaction (showing plain code on double click, toolbar on mouseover)
 * Tab sizes
 * Code title
 * Toggled toolbar
 * Retina buttons
 * Striped lines
 * Line marking (for important lines)
 * [Line ranges (showing only parts of the code)](http://aramk.com/blog/2012/09/02/line-ranges-in-crayon/)
 * Starting line number (default is 1)
 * File extension detection
 * Live Preview in settings
 * Dimensions, margins, alignment, font-size, line-height, float
 * Extensive error logging

**Links**

 * [Beta Releases](https://github.com/urvanov-ru/crayon-syntax-highlighter)
 * [Themes Demo](http://aramk.com/blog/2012/12/27/crayon-theme-editor/)
 * [GitHub Project](https://github.com/urvanov-ru/crayon-syntax-highlighter)

**Contributions**

There are many ways you can help!

 * Make a Theme and share
 * Add support for your favourite [Language](http://aramk.com/blog/2011/09/23/crayon-language-file-specification/)
 * Write a post about your pastel experiences and share
 * [Donate](https://yoomoney.ru/to/41001288941320) to the project

**Supported Languages**

Languages are defined in language files using Regular Expressions to capture elements.

See the [Crayon Language File Specification](http://aramk.com/blog/2011/09/23/crayon-language-file-specification/)
to learn how to make your own.

 * Default Language (one size fits all, highlights generic code)
 * C1 (thanks to [Oparin Pavel](http://oparin.info/))
 * ABAP
 * ActionScript
 * AmigaDOS (thanks to [amigalog.com](http://www.amigalog.com/))
 * Apache
 * AppleScript
 * Arduino
 * Assembly (x86)
 * AutoIt
 * C
 * C#
 * C++
 * Clojure (thanks to [](https://github.com/mberndtgen))
 * CoffeeScript (thanks to [Dai Akatsuka](http://firn.jp/crayon-coffeescript))
 * CSS
 * Delphi/Pascal (thanks to [Chris McClenny](http://squashbrain.com/))
 * Delphi Web Script (thanks to [smartmobilestudio](http://www.smartmobilestudio.com))
 * Diff (thanks to [omniavin](http://omniavin.co/post/262))
 * Erlang (thanks to [Daniel](http://netroid.de/))
 * Fabric Engine KL (thanks to [Andrew Hazelden](https://github.com/AndrewHazelden))
 * Go
 * Haskell
 * HTML (XML/XHTML)
 * INI
 * Lisp
 * Lua
 * Maya MEL (thanks to [Andrew Hazelden](https://github.com/AndrewHazelden))
 * Microsoft Registry (thanks to [techexplored.com](http://techexplored.com/2012/03/21/crayon-syntax-highlighter-reg-support/))
 * MIVA Script
 * Monkey (thanks to [Devolonter](https://github.com/devolonter))
 * MS-DOS (thanks to [http://www.amigalog.com/?p=334](http://www.amigalog.com/?p=334))
 * MySQL (thanks to [AssemblySys.com](http://assemblysys.com/) and [ansas-meyer.de](http://ansas-meyer.de/))
 * Java
 * JavaScript
 * Objective-C
 * Papyrus
 * Perl
 * PHP
 * PL/SQL
 * PostgreSQL (thanks to [Bitorchestra](http://bitorchestra.com/))
 * PowerShell
 * Python
 * R
 * Ruby
 * Rust (thanks to [Stibbons](https://github.com/Stibbons))
 * Scheme (thanks to [Harry75369](https://github.com/harry75369))
 * Shell (Unix)
 * Swift (thanks to [weyhan](https://github.com/weyhan))
 * Transact-SQL
 * TeX
 * Verilog (thanks to [Goran Devic](https://github.com/gdevic))
 * Vim
 * Visual Basic
 * Visual Basic .NET (thanks to [Kevin Gardthausen](https://github.com/OomJan/crayon-lang-vbnet))
 * YAML
 * ZSH (thanks to [Stibbons](https://github.com/Stibbons))
 * Others will be added when requested

**International Languages**

 * Arabic (thanks to Djennad Hamza),
 * Brasil Portuguese translation from Eric Sornoso (https://mealfan.com)
 * Chinese Simplified (thanks to [Dezhi Liu](http://smerpup.com/) & Jash Yin)
 * Chinese Traditional (thanks to [Arefly](http://www.arefly.com/))
 * Dutch (thanks to [Robin Roelofsen](https://twitter.com/RobinRoelofsen) & [Chilion Snoek](https://twitter.com/#!/chilionsnoek))
 * Finnish (thanks to [vahalan](https://github.com/vahalan))
 * French (thanks to [Victor Felder](https://vhf.github.io))
 * German (thanks to [Stephan Knauß](http://www.technologyblog.de/))
 * Italian (thanks to [Federico Bellucci](http://www.federicobellucci.net/))
 * Japanese (thanks to [@west_323](https://twitter.com/#!/west_323) and Jin Koyama
   from https://tabibitojin.com/)
 * Korean (thanks to [dokenzy](https://github.com/dokenzy))
 * Lithuanian (thanks to Vincent G)
 * Norwegian (thanks to [Jackalworks](http://www.jackalworks.com/blogg))
 * Persian (thanks to MahdiY)
 * Polish (thanks to [Bartosz Romanowski](https://github.com/toszcze), [Robert Korulczyk](http://rob006.net/))
 * Portuguese (thanks to [Adonai S. Canez](http://www.adonai.eti.br) and [Eric S from Mealfan.com](https://mealfan.com))
 * Russian (thanks to [Minimus](http://simplelib.com) & [Di_Skyer](http://atlocal.net/))
 * Slovak (thanks to Branco, [webhostgeeks/](https://twitter.com/#!/webhostgeeks))
 * Slovenian (thanks to Jan Sušnik, [http://jodlajodla.si/](http://jodlajodla.si/))
 * Spanish (thanks to [Hermann Bravo](http://www.hbravo.com/))
 * Tamil (thanks to KKS21199)
 * Turkish (thanks to [Hakan](http://hakanertr.wordpress.com))
 * Ukrainian (thanks to [Michael Yunat](http://getvoip.com/blog))
 * Help from translators at improving/adding to this list greatly appreciated!

**Articles**

These are helpful for discovering new features (Links don’t work. TODO: think about
moving it to my site).

 * [Internal Post Management in Crayon](http://aramk.com/blog/2012/09/26/internal-post-management-crayon/)
 * [Converting Legacy Tags to <pre>](http://aramk.com/blog/2012/09/26/converting-legacy-tags-to-pre/)
 * [Crayon with bbPress](http://aramk.com/blog/2012/09/08/crayon-with-bbpress/)
 * [Line Ranges in Crayon](http://aramk.com/blog/2012/09/02/line-ranges-in-crayon/)
 * [Crayon Tag Editor](http://aramk.com/blog/2012/03/25/crayon-tag-editor/)
 * [Mixed Language Highlighting in Crayon](http://aramk.com/blog/2011/12/25/mixed-language-highlighting-in-crayon/)
 * [Mini Tags And Plain Tags In Crayon](https://github.com/urvanov-ru/crayon-syntax-highlighter/wiki/Mini-Tags-and-Plain-Tags-in-Crayon)
 * [Inline Tags](https://github.com/urvanov-ru/crayon-syntax-highlighter/wiki/Inline-Tags,-%60Backquotes%60-and-Crayons-in-Comments)
 * [Enqueuing Themes and Fonts in Crayon](https://github.com/urvanov-ru/crayon-syntax-highlighter/wiki/Enqueuing-Themes-and-Fonts-in-Crayon)

**The Press**

A handful of articles from others written about Crayon, thanks guys!

 * [Crayon Syntax Highlighter Plugin Theme Color Previews](http://thedigitalhippies.com/digital/crayon-syntax-highlighter-plugin-theme-color-previews-demo/)
 * [Using Crayon Syntax Highlighter WordPress plugin to post code snippets on your blog](http://www.webworkgarage.com/2013/07/using-crayon-syntax-highlighter-wordpress-plugin-to-post-code-snippets-on-your-blog/)
 * [How to post source code on WordPress](http://www.jjpro.net/2013/01/13/how-to-post-source-code-on-wordpress-2/)
 * [Syntax highlighter switched to Crayon](http://www.emanueleferonato.com/2013/02/01/syntax-highlighter-switched-to-crayon/)
 * [5 Best Syntax Highlighter Plugins for WordPress](http://www.wordpressthemeshq.net/5-best-syntax-highlighter-plugins-for-wordpress/)
 * [How To Post Source Code In WordPress](http://amecylia.com/how-to-post-source-code-wordpress/)
 * [Top 5 Syntax Highlighter WordPress Plugins](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/)
 * [State of syntax highlighter support in bbPress 2](https://bbpress.org/forums/topic/state-of-syntax-highlighter-support-in-bbpress-2/)
 * [The ultimate plugin for displaying code in WordPress (French)](http://www.techbrunch.fr/informations/plugin-wordpress-afficher-code-source/)
 * [Finally!, A WordPress code syntax highlighting that works](http://www.trynull.com/2012/06/15/finally-wordpress-code-syntax-highlighting-that-works/)
 * [Crayon Syntax Highlighter (and its studly author)](http://selfpwnt.com/crayon-syntax-highlighter-and-its-studly-author/)
 * [Add Code To Your WordPress Posts With Crayon Syntax Highlighter](http://bit51.com/add-code-to-your-wordpress-posts-with-crayon-syntax-highlighter/)
 * [15 Best Syntax Highlighter WordPress Plugins](http://www.wpsquare.com/syntax-highlighter-wordpress-plugins/)
 * [Displaying Code in WordPress with Crayon ](http://www.doitwithwp.com/displaying-code-in-wordpress-with-crayon-syntax-highlighter/)
 * [ABAP Syntax Highlighting in WordPress (German)](http://blog.boxedpages.net/2012/03/15/abap-syntaxhighlighting-in-wordpress/)
 * [Crayon Syntax Highlighter plugin](http://jstips.org/2012/04/23/crayon-syntax-highlighter-plugin/)
 * [Crayon Syntax Highlighter (Russian)](http://infodrug.ru/wordpress/kak-krasivo-vstavit-programmnyj-kod-v-wordpress-podsvetka-sintaksisa.html)
 * [Crayon Syntax Highlighter (also Russian)](http://n-wp.ru/11513)
 * [How To Post Source Code](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

**Donations**

Thanks to all those who donate to the project:

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

## Blocks

This plugin provides 1 block.

 *   Urvanov Syntax Highlighter

## Installation

 * Download the .zip of the plugin and extract the contents.
 * Upload it to the WordPress plugin directory and activate the plugin.
 * Even easier, just go to **Plugins > Add New** and search for “Urvanov Syntax 
   Highlighter”.
 * You can change settings and view help under **Settings > Crayon** in the WordPress
   Admin.
 * Make sure your theme either manually specifies jQuery, or uses the version shipped
   with WordPress (recommended). You should NOT print out jQuery manually in the
   header as a script tag. [Enqueueing it in WordPresss](http://wordpress.stackexchange.com/questions/1535/how-to-dequeue-a-script)
   will prevent duplicate jQuery includes (also bad) and will allow other scripts
   to be placed AFTER jQuery in the head tag so they can use it. If you’re uncertain,
   just let WordPress handle it and remove any jQuery script tags you find in your
   theme’s header.php.
 * Oll old Crayon inline and blocks should work by default.
 * Don’t use standard Code block in new posts. Use special Urvanov Syntax Highlighter
   block in Gutenberg editor.

## FAQ

Please see the [documentation](https://github.com/urvanov-ru/crayon-syntax-highlighter)
for all the details.

### Support

Contact me at http://twitter.com/crayonsyntax or crayon.syntax@gmail.com.

## Reviews

![](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/) April 11, 2024
1 reply

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/) February 22, 2024 1 reply

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/) November 5, 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/) December 31, 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/) September 23,
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/) August 11, 2021

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

 [ Read all 19 reviews ](https://wordpress.org/support/plugin/urvanov-syntax-highlighter/reviews/)

## Contributors & Developers

“Urvanov Syntax Highlighter” is open source software. The following people have 
contributed to this plugin.

Contributors

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

“Urvanov Syntax Highlighter” has been translated into 3 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/urvanov-syntax-highlighter/contributors)
for their contributions.

[Translate “Urvanov Syntax Highlighter” into your language.](https://translate.wordpress.org/projects/wp-plugins/urvanov-syntax-highlighter)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/urvanov-syntax-highlighter/),
check out the [SVN repository](https://plugins.svn.wordpress.org/urvanov-syntax-highlighter/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/urvanov-syntax-highlighter/)
by [RSS](https://plugins.trac.wordpress.org/log/urvanov-syntax-highlighter/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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.
    - Line numbers copied when you copied page content

#### 2.8.24

 * ADDED
    - Updated copy button behaviour
    - Turned back to jQuery ready function
    - updated readme

#### 2.8.23

 * ADDED
    - Kotlin support
    - TypeScript support

#### 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
    - Fix mark in readme.txt
    - “Open Code in New Window” syntax highlighting.

#### 2.8.11

 * FIXED
    - [BUG] Languages parsed with errors

#### 2.8.10

 * FIXED
    - Theme editor fixed.
    - Crayon themes support.

#### 2.8.9

 * FIXED:
    - Deprecated: implode(): Passing glue string after array is deprecated. Swap
      the parameters
    - Notice: A non well formed numeric value in class-urvanov-syntax-highlighter-
      formatter
    - Bug report: when add `\(*)` in codes. It will show {{urvanov-syntax-highlighter-
      internal:0}}

#### 2.8.8

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

#### 2.8.7

 * FIXED:
    - Only bug fixes with crayon inline.

#### 2.8.6

 * ADDED:
    - Refactored to fit WordPress Code Codex.
    - Renamed to Urvanov Syntax Highlighter.
    - PHP 7 support

#### 2.8.5

 * ADDED:
    - Verilog language, thanks to https://github.com/gdevic.
 * FIXED:
    - Moved header() call out of CrayonWP::highlight().
    - Renamed MIXED to ALTERNATE to fix compatibility with PHP7, thanks to 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.
    - Norwegian translation.
    - Amity theme.
    - Flat-UI theme.
    - Powershell theme.
    - Mm Dark Blue theme.
    - Prism Like theme.
    - Kaderu theme.
    - Kayote theme.
    - Xcode theme.
    - Source Code Pro font.
 * 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

 *  Version **2.9.1**
 *  Last updated **1 month ago**
 *  Active installations **3,000+**
 *  WordPress version ** 6.9 or higher **
 *  Tested up to **6.9.4**
 *  Languages
 * [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/),
   and [Swedish](https://sv.wordpress.org/plugins/urvanov-syntax-highlighter/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/urvanov-syntax-highlighter)
 * Tags
 * [code](https://wordpress.org/plugins/tags/code/)[code highlighter](https://wordpress.org/plugins/tags/code-highlighter/)
   [highlighter](https://wordpress.org/plugins/tags/highlighter/)[highlighting](https://wordpress.org/plugins/tags/highlighting/)
   [syntax highlighter](https://wordpress.org/plugins/tags/syntax-highlighter/)
 *  [Advanced View](https://wordpress.org/plugins/urvanov-syntax-highlighter/advanced/)

## Ratings

 4.5 out of 5 stars.

 *  [  16 5-star reviews     ](https://wordpress.org/support/plugin/urvanov-syntax-highlighter/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/urvanov-syntax-highlighter/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/urvanov-syntax-highlighter/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/urvanov-syntax-highlighter/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/urvanov-syntax-highlighter/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/urvanov-syntax-highlighter/reviews/#new-post)

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

## Contributors

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

## Support

Got something to say? Need help?

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

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://yoomoney.ru/to/41001288941320)