Dizze plugin is net hifke mei de lêste 3 grutte releases fan WordPress . It kin net langer wurde ûnderhâlden of stipe en kin kompatibiliteitsproblemen hawwe as it wurdt brûkt mei resinte ferzjes fan WordPress.

Easy Google Syntax Highlighter

Beskriuwing

This plugin is an implementation of the Syntax Highlighter 2.1.364 by Alex Gorbatchev with a front end to allow configuring all the global settings that are available, such having the plugin automatically include languages to highlight, thereby improving page loading performance.

Syntax Supported

ActionScript3, Bash/shell, C#, C++, CSS, Delphi, Diff,
Groovy, JavaScript, Java, JavaFX, Perl, PHP, Plain Text,
PowerShell, Python, Ruby, Scala, SQL, Visual Basic, XML

Themes

Default, Django, Emacs, FadeToGrey, Midnight, RDark

Skermôfbyldings

  • Simple Javascript example

Ynstallaasje

  1. Extract plugin into /wp-content/plugins directory.
  2. Activate the plugin.
  3. Specify your code snippets in your blog post using the Usage Directions.

This example will highligh the source as Javascript:

<pre class="brush:js">
    alert("Hello world");
</pre>

FAQ

How do I get the best performance out of this plugin?

* Disable any syntax types that your blog doesn’t use, especially if you are only using a few of the syntax brushes.
* If your blog has a footer, you should enable the option to put the brushes in the footer.
* Also, if your blog has a footer, then Enable the automatic feature which will only include the language brushes that are referenced on each page of your blog.

Resinsjes

D'r binne gjin resinsjes foar dizze plugin.

Meiwurkers & amp; Untwikkelders

"Easy Google Syntax Highlighter" is iepen boarne software. De folgjende minsken hawwe bydroegen oan dizze plugin.

Meiwurkers

Oersette "Easy Google Syntax Highlighter" yn jo taal.

Ynteressearre yn ûntwikkeling?

Blêdzje troch de koade , besjoch de SVN-repository , of abonnearje op it ûntwikkelingslogboek troch RSS .

Feroaringslog

1.2.1

  • Added a message warning against using Auto Brushes without Brushes in Footer
  • The reset button on Settings wasn’t resetting the Default Brush option
  • Changed the internal name for Auto Brushes to something less generic. Please check Auto Brush settings after installing this update.

1.2.0

  • Updated to version 2.1.364 of Alex Gorbachev’s highlighter script
  • New feature to use a default brush for tags that don’t specify a brush (thanks to gjulian for the suggestion)
  • Fixed a bug that stopped a custom tag being used when Auto Brushes was enabled
  • Removed redundant code

1.1.1

  • Fixed incorrect path for script copy swf file

1.1.0

  • Option to automatically include language brushes that are referenced on the blog page being viewed
  • Minor tweaks to allow this plugin to work with wp-minify

1.0.0

  • First version