이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Syntax Highlighter by Akshay M.

설명

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.

Arbitrary section

Features

  1. Display of CodeArea on Blog
  2. Syntax Hilighting of code in various languages including C, CPP, Java, PHP, Ruby, Markup (HTML) etc.
  3. Line numbering for the code in Codearea

스크린샷

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

설치

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:

  • Write your code in tags like,
   <pre class="language-ruby"><code class="language-ruby">
   // Sample Code of Ruby
   </code></pre>
  • Including Line numbers for your code in the codearea,
   pre class="language-ruby line-numbers"><code class="language-ruby">
   // Sample Code of Ruby
   </code></pre>
  • Example for using with various languages:

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>

FAQ

How to use for Java language?

Use following syntax for implementing thr plugin for Java Language.

<

pre>
<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’

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Syntax Highlighter by Akshay M.”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Syntax Highlighter by Akshay M.”(을)를 번역하십시오.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하십시오.

변경이력

1.0

  • Initial Version of the Plugin