summaryrefslogtreecommitdiffstats
path: root/public/help/ja
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-09-30 02:45:16 +0000
committerGo MAEDA <maeda@farend.jp>2018-09-30 02:45:16 +0000
commit72595c6acdbbc4c8a58c0783aed3d58852583ede (patch)
treedf2598adb16bcd5d9876dafdc38e20ba24d87f20 /public/help/ja
parent5b189317a9cd935fc5193f884a5c38c69cb8062e (diff)
downloadredmine-72595c6acdbbc4c8a58c0783aed3d58852583ede.tar.gz
redmine-72595c6acdbbc4c8a58c0783aed3d58852583ede.zip
Updated the "Code highlighting" section in wiki help as the syntax highlighter was replaced with Rouge (#24681).
git-svn-id: http://svn.redmine.org/redmine/trunk@17536 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/help/ja')
-rw-r--r--public/help/ja/wiki_syntax_detailed_markdown.html24
-rw-r--r--public/help/ja/wiki_syntax_detailed_textile.html24
2 files changed, 24 insertions, 24 deletions
diff --git a/public/help/ja/wiki_syntax_detailed_markdown.html b/public/help/ja/wiki_syntax_detailed_markdown.html
index 94926ce33..d341d4cfb 100644
--- a/public/help/ja/wiki_syntax_detailed_markdown.html
+++ b/public/help/ja/wiki_syntax_detailed_markdown.html
@@ -283,7 +283,7 @@ To go live, all you need to add is a database and a web server.
<h2><a name="13" class="wiki-page"></a>コードハイライト</h2>
- <p>Redmineのコードハイライトは <a href="http://coderay.rubychan.de/" class="external">CodeRay</a> という、Rubyで記述された高速なライブラリを使用しています。現時点では c, clojure, cpp (c++, cplusplus), css, delphi (pascal), diff (patch), erb (eruby, rhtml), go, groovy, haml, html (xhtml), java, javascript (ecmascript, ecma_script, java_script, js), json, lua, php, python, ruby (irb), sass, sql, taskpaper, text (plain, plaintext), xml, yaml (yml) に対応しています。括弧内の名前はコードハイライトの指定時に利用できる別名です。</p>
+ <p>RedmineはRubyで記述されたシンタックスハイライト用ライブラリ <a href="http://rouge.jneen.net/" class="external">Rouge</a> を使用しています。Rougeは <strong>c</strong>, <strong>cpp</strong> (c++), <strong>csharp</strong> (c#, cs), <strong>css</strong>, <strong>diff</strong> (patch, udiff), <strong>go</strong> (golang), <strong>groovy</strong>, <strong>html</strong>, <strong>java</strong>, <strong>javascript</strong> (js), <strong>kotlin</strong>, <strong>objective_c</strong> (objc), <strong>perl</strong> (pl), <strong>php</strong>, <strong>python</strong> (py), <strong>r</strong>, <strong>ruby</strong> (rb), <strong>sass</strong>, <strong>scala</strong>, <strong>shell</strong> (bash, zsh, ksh, sh), <strong>sql</strong>, <strong>swift</strong>, <strong>xml</strong>, <strong>yaml</strong> (yml) など一般的に使われている多数の言語に対応しています(括弧内の名前はコードハイライトの指定に利用できる別名です)。全対応言語の一覧は <a href="https://github.com/jneen/rouge/wiki/List-of-supported-languages-and-lexers" class="external">https://github.com/jneen/rouge/wiki/List-of-supported-languages-and-lexers</a> を参照してください。</p>
<p>Wiki記法に対応している箇所であればどこでも以下の記述によりコードハイライトが利用できます (言語名・別名では大文字・小文字は区別されません):</p>
@@ -295,16 +295,16 @@ To go live, all you need to add is a database and a web server.
<p>表示例:</p>
-<pre><code class="ruby syntaxhl"><span class="CodeRay"><span class="comment"># The Greeter class</span>
-<span class="keyword">class</span> <span class="class">Greeter</span>
- <span class="keyword">def</span> <span class="function">initialize</span>(name)
- <span class="instance-variable">@name</span> = name.capitalize
- <span class="keyword">end</span>
-
- <span class="keyword">def</span> <span class="function">salute</span>
- puts <span class="string"><span class="delimiter">"</span><span class="content">Hello </span><span class="inline"><span class="inline-delimiter">#{</span><span class="instance-variable">@name</span><span class="inline-delimiter">}</span></span><span class="content">!</span><span class="delimiter">"</span></span>
- <span class="keyword">end</span>
-<span class="keyword">end</span></span></code>
-</pre>
+<pre><code class="ruby syntaxhl"><span class="c1"># The Greeter class</span>
+<span class="k">class</span> <span class="nc">Greeter</span>
+ <span class="k">def</span> <span class="nf">initialize</span><span class="p">(</span><span class="nb">name</span><span class="p">)</span>
+ <span class="vi">@name</span> <span class="o">=</span> <span class="nb">name</span><span class="p">.</span><span class="nf">capitalize</span>
+ <span class="k">end</span>
+
+ <span class="k">def</span> <span class="nf">salute</span>
+ <span class="nb">puts</span> <span class="s2">"Hello </span><span class="si">#{</span><span class="vi">@name</span><span class="si">}</span><span class="s2">!"</span>
+ <span class="k">end</span>
+<span class="k">end</span>
+</code></pre>
</body>
</html>
diff --git a/public/help/ja/wiki_syntax_detailed_textile.html b/public/help/ja/wiki_syntax_detailed_textile.html
index 3e0fe24fb..0415d9f36 100644
--- a/public/help/ja/wiki_syntax_detailed_textile.html
+++ b/public/help/ja/wiki_syntax_detailed_textile.html
@@ -287,7 +287,7 @@ To go live, all you need to add is a database and a web server.
<h2><a name="13" class="wiki-page"></a>コードハイライト</h2>
- <p>Redmineのコードハイライトは <a href="http://coderay.rubychan.de/" class="external">CodeRay</a> という、Rubyで記述された高速なライブラリを使用しています。現時点では c, clojure, cpp (c++, cplusplus), css, delphi (pascal), diff (patch), erb (eruby, rhtml), go, groovy, haml, html (xhtml), java, javascript (ecmascript, ecma_script, java_script, js), json, lua, php, python, ruby (irb), sass, sql, taskpaper, text (plain, plaintext), xml, yaml (yml) に対応しています。括弧内の名前はコードハイライトの指定時に利用できる別名です。</p>
+ <p>RedmineはRubyで記述されたシンタックスハイライト用ライブラリ <a href="http://rouge.jneen.net/" class="external">Rouge</a> を使用しています。Rougeは <strong>c</strong>, <strong>cpp</strong> (c++), <strong>csharp</strong> (c#, cs), <strong>css</strong>, <strong>diff</strong> (patch, udiff), <strong>go</strong> (golang), <strong>groovy</strong>, <strong>html</strong>, <strong>java</strong>, <strong>javascript</strong> (js), <strong>kotlin</strong>, <strong>objective_c</strong> (objc), <strong>perl</strong> (pl), <strong>php</strong>, <strong>python</strong> (py), <strong>r</strong>, <strong>ruby</strong> (rb), <strong>sass</strong>, <strong>scala</strong>, <strong>shell</strong> (bash, zsh, ksh, sh), <strong>sql</strong>, <strong>swift</strong>, <strong>xml</strong>, <strong>yaml</strong> (yml) など一般的に使われている多数の言語に対応しています(括弧内の名前はコードハイライトの指定に利用できる別名です)。全対応言語の一覧は <a href="https://github.com/jneen/rouge/wiki/List-of-supported-languages-and-lexers" class="external">https://github.com/jneen/rouge/wiki/List-of-supported-languages-and-lexers</a> を参照してください。</p>
<p>Wiki記法に対応している箇所であればどこでも以下の記述によりコードハイライトが利用できます (言語名・別名では大文字・小文字は区別されません):</p>
@@ -299,16 +299,16 @@ To go live, all you need to add is a database and a web server.
<p>表示例:</p>
-<pre><code class="ruby syntaxhl"><span class="CodeRay"><span class="comment"># The Greeter class</span>
-<span class="keyword">class</span> <span class="class">Greeter</span>
- <span class="keyword">def</span> <span class="function">initialize</span>(name)
- <span class="instance-variable">@name</span> = name.capitalize
- <span class="keyword">end</span>
-
- <span class="keyword">def</span> <span class="function">salute</span>
- puts <span class="string"><span class="delimiter">"</span><span class="content">Hello </span><span class="inline"><span class="inline-delimiter">#{</span><span class="instance-variable">@name</span><span class="inline-delimiter">}</span></span><span class="content">!</span><span class="delimiter">"</span></span>
- <span class="keyword">end</span>
-<span class="keyword">end</span></span></code>
-</pre>
+<pre><code class="ruby syntaxhl"><span class="c1"># The Greeter class</span>
+<span class="k">class</span> <span class="nc">Greeter</span>
+ <span class="k">def</span> <span class="nf">initialize</span><span class="p">(</span><span class="nb">name</span><span class="p">)</span>
+ <span class="vi">@name</span> <span class="o">=</span> <span class="nb">name</span><span class="p">.</span><span class="nf">capitalize</span>
+ <span class="k">end</span>
+
+ <span class="k">def</span> <span class="nf">salute</span>
+ <span class="nb">puts</span> <span class="s2">"Hello </span><span class="si">#{</span><span class="vi">@name</span><span class="si">}</span><span class="s2">!"</span>
+ <span class="k">end</span>
+<span class="k">end</span>
+</code></pre>
</body>
</html>