This plugin allows for easy addition of highlighted code with the [code lang=””] 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”][/code]
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)
- Extract plugin into /wp-content/plugins directory.
- Activate the plugin.
- Specify your code snippets in your blog post using the shortcode [code lang=”Language”][/code]
Here is an example to produce ruby syntax highlighting once the plugin is activated:
[code lang="ruby"] def my_ruby_snippet blog_post.should(be_highlighted) end [/code]
Reviews
0 out of 5 stars
- Version: 1.2.9
- Last updated: 14 years ago
- Active installations: 0
- WordPress version: 2.0.0
- Tested up to: 2.8.6
- PHP version: false