Linux 软件免费装

Syntax Highlighter by Akshay M.

开发者 akshaymohite31
更新时间 2014年2月7日 00:37
捐献地址: 去捐款
PHP版本: 3.0.1 及以上
WordPress版本: 3.8.1
版权: GPLv2 or later
版权网址: 版权信息

标签

html css code syntax highlighting java sourcecode cpp ruby codearea

下载

1.0

详情介绍:

The need of displaying Code Snippets in your blog is fulfilled by the Plugin effectively. The plugin can be used as follows, Code that you want to have syntax highlighted and displayed in Code Textarea, should be encoded with pre and code tags as discussed in Installation section of the Plugin. This plugin can be used to display and highlight code of various languages including C, CPP, Java, PHP, Ruby, Markup (HTML) etc.

安装:

From your WordPress dashboard
  1. Visit 'Plugins > Add New'
  2. Search for 'Syntax Highlighter by Akshay M.'
  3. Activate 'Syntax Highlighter by Akshay M.' from your Plugins page.
How to Use: <pre class="language-ruby"><code class="language-ruby"> // Sample Code of Ruby </code></pre> pre class="language-ruby line-numbers"><code class="language-ruby"> // Sample Code of Ruby </code></pre> Ruby - <pre class="language-ruby"><code class="language-ruby"> # Ruby Code </code></pre> Java - <pre class="language-java"><code class="language-java"> # Java Code </code></pre> PHP - <pre class="language-php"><code class="language-php"> # PHP Code </code></pre> C - <pre class="language-c"><code class="language-c"> # C Code </code></pre> CPP - <pre class="language-cpp"><code class="language-cpp"> # CPP Code </code></pre> HTML - <pre class="language-html"><code class="language-html"> # HTML Code </code></pre> Markup - <pre class="language-markup"><code class="language-markup"> # Markup Code </code></pre>

屏幕截图:

  • '/assets/screenshot-1.png'
  • '/assets/screenshot-2.png'

升级注意事项:

1.0 Initial Commit of the Plugin

常见问题:

How to use for Java language?

Use following syntax for implementing thr plugin for Java Language. <pre class="language-java"><code class="language-java"> // Sample Code of Ruby </code></pre> # Similarly use for other languages For using it for other languages, replace 'language-ruby' with 'language-java'

更新日志:

1.0