@@ -297,9 +297,9 It can be expanded by clicking a link. | |||
|
297 | 297 | |
|
298 | 298 | <h2><a name="13" class="wiki-page"></a>程式碼醒目提示</h2> |
|
299 | 299 | |
|
300 |
<p> |
|
|
300 | <p>預設使用 <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 and yaml (yml) 等語言,括弧中的名稱是該語言的別名。</p> | |
|
301 | 301 | |
|
302 | <p>You can highlight code at any place that supports wiki formatting using this syntax (note that the language name or alias is case-insensitive):</p> | |
|
302 | <p>您可載任何支援 Wiki 格式設定的地方,使用這個語法來醒目提示程式碼 (注意語言與其別名的名稱不須區分大小寫):</p> | |
|
303 | 303 | |
|
304 | 304 | <pre> |
|
305 | 305 | ~~~ ruby |
@@ -301,9 +301,9 It can be expanded by clicking a link. | |||
|
301 | 301 | |
|
302 | 302 | <h2><a name="13" class="wiki-page"></a>程式碼醒目提示</h2> |
|
303 | 303 | |
|
304 |
<p>預設使用 <a href="http://coderay.rubychan.de/" class="external">CodeRay</a> 作為程式碼醒目提示的機制,它是一個使用 Ruby 撰寫的語法醒目提示函式庫。 |
|
|
304 | <p>預設使用 <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 and yaml (yml) 等語言,括弧中的名稱是該語言的別名。</p> | |
|
305 | 305 | |
|
306 | <p>You can highlight code at any place that supports wiki formatting using this syntax (note that the language name or alias is case-insensitive):</p> | |
|
306 | <p>您可載任何支援 Wiki 格式設定的地方,使用這個語法來醒目提示程式碼 (注意語言與其別名的名稱不須區分大小寫):</p> | |
|
307 | 307 | |
|
308 | 308 | <pre> |
|
309 | 309 | <pre><code class="ruby"> |
General Comments 0
You need to be logged in to leave comments.
Login now