Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

The Ultimate Syntax Highlighter

Beskrivning

This plugin allows for easy addition of highlighted code with the tag supporting over 10 languages

Feature summary

  • 100% client side, no server dependency
  • Multiple languages support
  • Wide browser support
  • Very lightweight
  • Easily added with the shortcode [code lang=”language”]

Languages Supported

  • C++ (cpp, c, c++)
  • C# (c#, c-sharp, csharp)
  • CSS (css)
  • Delphi (delphi, pascal)
  • Java (java)
  • Java Script (js, jscript, javascript)
  • PHP (php)
  • Python (py, python)
  • Ruby (rb, ruby, rails, ror)
  • Sql (sql)
  • VB (vb, vb.net)
  • XML/HTML (xml, html, xhtml, xslt)

Skärmdumpar

  • An example in the HTML editor
  • An example in the Visual editor
  • The blog-side output

Installation

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

Here is an example to produce ruby syntax highlighting once the plugin is activated:

 def my_ruby_snippet   blog_post.should(be_highlighted) end 

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”The Ultimate Syntax Highlighter” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer