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.
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!
- 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>
- Remote request caching
- Mixed Language Highlighting in a single Crayon
- Mini Tags like
- Inline Tags floating in sentences
- Crayons in comments
- `Backquotes` become <code>
- <pre> tag support, option to use
setting-valuein the class attribute - Valid HTML 5 markup
- Visual & HTML editor compatible
- 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)
- 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
Contributions
There are many ways you can help!
- Make a Theme and share
- Add support for your favourite Language
- Write a post about your pastel experiences and share
- Donate to the project
Supported Languages
Languages are defined in language files using Regular Expressions to capture elements.
See the 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)
- ABAP
- ActionScript
- AmigaDOS (thanks to amigalog.com)
- Apache
- AppleScript
- Arduino
- Assembly (x86)
- AutoIt
- C
- C#
- C++
- Clojure (thanks to )
- CoffeeScript (thanks to Dai Akatsuka)
- CSS
- Delphi/Pascal (thanks to Chris McClenny)
- Delphi Web Script (thanks to smartmobilestudio)
- Diff (thanks to omniavin)
- Erlang (thanks to Daniel)
- Fabric Engine KL (thanks to Andrew Hazelden)
- Go
- Haskell
- HTML (XML/XHTML)
- INI
- Lisp
- Lua
- Maya MEL (thanks to Andrew Hazelden)
- Microsoft Registry (thanks to techexplored.com)
- MIVA Script
- Monkey (thanks to Devolonter)
- MS-DOS (thanks to http://www.amigalog.com/?p=334)
- MySQL (thanks to AssemblySys.com and ansas-meyer.de)
- Java
- JavaScript
- Objective-C
- Papyrus
- Perl
- PHP
- PL/SQL
- PostgreSQL (thanks to Bitorchestra)
- PowerShell
- Python
- R
- Ruby
- Rust (thanks to Stibbons)
- Scheme (thanks to Harry75369)
- Shell (Unix)
- Swift (thanks to weyhan)
- Transact-SQL
- TeX
- Verilog (thanks to Goran Devic)
- Vim
- Visual Basic
- Visual Basic .NET (thanks to Kevin Gardthausen)
- YAML
- ZSH (thanks to 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 & Jash Yin)
- Chinese Traditional (thanks to Arefly)
- Dutch (thanks to Robin Roelofsen & Chilion Snoek)
- Finnish (thanks to vahalan)
- French (thanks to Victor Felder)
- German (thanks to Stephan Knauß)
- Italian (thanks to Federico Bellucci)
- Japanese (thanks to @west_323 and Jin Koyama from https://tabibitojin.com/)
- Korean (thanks to dokenzy)
- Lithuanian (thanks to Vincent G)
- Norwegian (thanks to Jackalworks)
- Persian (thanks to MahdiY)
- Polish (thanks to Bartosz Romanowski, Robert Korulczyk)
- Portuguese (thanks to Adonai S. Canez and Eric S from Mealfan.com)
- Russian (thanks to Minimus & Di_Skyer)
- Slovak (thanks to Branco, webhostgeeks/)
- Slovenian (thanks to Jan Sušnik, http://jodlajodla.si/)
- Spanish (thanks to Hermann Bravo)
- Tamil (thanks to KKS21199)
- Turkish (thanks to Hakan)
- Ukrainian (thanks to Michael Yunat)
- 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
- Converting Legacy Tags to <pre>
- Crayon with bbPress
- Line Ranges in Crayon
- Crayon Tag Editor
- Mixed Language Highlighting in Crayon
- Mini Tags And Plain Tags In Crayon
- Inline Tags
- 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
- Using Crayon Syntax Highlighter WordPress plugin to post code snippets on your blog
- How to post source code on WordPress
- Syntax highlighter switched to Crayon
- 5 Best Syntax Highlighter Plugins for WordPress
- How To Post Source Code In WordPress
- Top 5 Syntax Highlighter WordPress Plugins
- Crayon Syntax Highlighter � Plugin
- State of syntax highlighter support in bbPress 2
- The ultimate plugin for displaying code in WordPress (French)
- Finally!, A WordPress code syntax highlighting that works
- Crayon Syntax Highlighter (and its studly author)
- Add Code To Your WordPress Posts With Crayon Syntax Highlighter
- 15 Best Syntax Highlighter WordPress Plugins
- Displaying Code in WordPress with Crayon
- ABAP Syntax Highlighting in WordPress (German)
- Crayon Syntax Highlighter plugin
- Crayon Syntax Highlighter (Russian)
- Crayon Syntax Highlighter (also Russian)
- How To Post Source Code
- 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 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 for all the details.
-
Support
-
Contact me at http://twitter.com/crayonsyntax or [email protected].
Reviews
Contributors & Developers
“Urvanov Syntax Highlighter” is open source software. The following people have contributed to this plugin.
Contributors“Urvanov Syntax Highlighter” has been translated into 3 locales. Thank you to the translators for their contributions.
Translate “Urvanov Syntax Highlighter” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
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
$_SERVERarray
- Check HTTP_USER_AGENT existance in
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.
- CrayonWP::highlight() can return plain text instead of HTML. Used for AJAX requests to prevent
- FIXED:
- Support for tags (e.g. formatting) in the HTML for CrayonWP::highlight(). This affects
bbPress. Only script tags and event attributes are stripped.
- Support for tags (e.g. formatting) in the HTML for CrayonWP::highlight(). This affects
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.