=== Plugin Name ===
Contributors: akarmenia
Donate link: http://ak.net84.net/
Tags: syntax highlighter, syntax, highlighter, highlighting, crayon, code highlighter
Requires at least: 3.0
Tested up to: 3.3
Stable tag: 1.3.2
Syntax Highlighter supporting multiple languages, themes, highlighting from a URL, local file or post text.
== Description ==
A Syntax Highlighter built in PHP and jQuery that supports customizable languages and themes.
It can highlight from a URL, a local file 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 mobile/touchscreen device detection, mouse interactions, toggled plain code, toggled line numbers, tab sizes, error logging and file extension detection just to name a few.
Live Demo: http://bit.ly/poKNqs
Short How-To: http://ak.net84.net/projects/crayon-syntax-highlighter/
== Installation ==
Download the .zip of the plugin and extract the contents. Upload it to the Wordpress plugin directory and activate the plugin.
You can change settings and view help under Settings > Crayon in the Wordpress Admin.
== Frequently Asked Questions ==
= How do I use this thing? =
[crayon lang="php"] your code [/crayon]
[crayon url="http://example.com/code.txt" /]
[crayon url="/local-path-defined-in-settings/code.java" /]
Please see the contextual help under Settings > Crayon for quick info about languages, themes, etc.
= I need help, now! =
Contact me at http://twitter.com/crayonsyntax or crayon.syntax@gmail.com.
== Screenshots ==
1. Different themes and Live Preview under Settings > Crayon.
== Changelog ==
= 1.3.2 =
* Added missing copy icon
= 1.3.1 =
* This fixes an issue that was not completely fixed in 1.3.0:
* Removed the lookbehind condition for escaping $ and \ for backreference bug
= 1.3.0 =
* Recommended upgrade for everyone.
* Major bug fix thanks to twitter.com/42dotno and twitter.com/eriras
* Fixed a bug causing attributes using single quotes to be undetected
* Fixed a bug causing code with dollar signs followed by numbers to be detected as backreferences and replace itself!
* Fixed a bug causing formatting to be totally disregarded.
* Fixed the tag in post_content and the_excerpt by placing crayon detection after all other formatting has taken place
* Added copy and paste, didn't use flash, selects text and asks user to copy (more elegant until they sort out clipboard access)
* Added shell script to languages - use with lang='sh'
* Removed certain usage of heredocs and replaced with string concatenation
* Added 'then' to default statements
* Cleaned up processing of post_queue used for Crayon detection and the_excerpt
* Added focus to plain text to allow easier copy-paste
= 1.2.3 =
* Prevented Crayons from appearing as plain text in excerpts
http://wordpress.org/support/topic/plugin-crayon-syntax-highlighter-this-plugin-breaks-the-tag
= 1.2.2 =
* Fixed the regex for detecting python docstrings. It's a killer, but it works!
(?:(?