Apraksts
This plugin easily integrates the Google Syntax Highlighter by Alex Gorbatchev into WordPress.
Feature summary
- 100% client side, no server dependency
- Multiple languages support
- Wide browser support
- Very lightweight
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)
Uzstādīšana
- Extract plugin into /wp-content/plugins directory.
- Activate the plugin.
- Specify your code snippets in your blog post using the Usage Directions provided by the Google Syntax highlighter.
Here is an example to produce ruby syntax highlighting once the plugin is activated:
<pre name="code" class"ruby">
def my_ruby_snippet
blog_post.should(be_highlighted)
end
</pre>
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Google Syntax Highlighter for WordPress” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Google Syntax Highlighter for WordPress” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.