##// END OF EJS Templates
Japanese wiki syntax (Markdown) translation for 3.1-stable updated by Go MAEDA (#22009, #22139)...
Toshi MARUYAMA -
r14796:1fdfdd5462e1
parent child
Show More
@@ -33,192 +33,192
33 </head>
33 </head>
34
34
35 <body>
35 <body>
36 <h1><a name="1" class="wiki-page"></a>Wiki formatting (Markdown)</h1>
36 <h1><a name="1" class="wiki-page"></a>Wiki記法 (Markdown)</h1>
37
37
38 <h2><a name="2" class="wiki-page"></a>Links</h2>
38 <h2><a name="2" class="wiki-page"></a>Links</h2>
39
39
40 <h3><a name="3" class="wiki-page"></a>Redmine links</h3>
40 <h3><a name="3" class="wiki-page">Redmine内のリンク</a></h3>
41
41
42 <p>Redmine allows hyperlinking between resources (issues, changesets, wiki pages...) from anywhere wiki formatting is used.</p>
42 <p>RedmineはWiki記法が使える箇所のどこからでも、チケット・チェンジセット・Wikiページなどのリソースへのリンクができます。</p>
43 <ul>
43 <ul>
44 <li>Link to an issue: <strong>#124</strong> (displays <del><a href="#" class="issue" title="bulk edit doesn't change the category or fixed version properties (Closed)">#124</a></del>, link is striked-through if the issue is closed)</li>
44 <li>チケットへのリンク: <strong>#124</strong> (終了したチケットは <del><a href="#" class="issue" title="bulk edit doesn't change the category or fixed version properties (Closed)">#124</a></del> のように取り消し線付きで表示されます)</li>
45 <li>Link to an issue note: <strong>#124-6</strong>, or <strong>#124#note-6</strong></li>
45 <li>チケットの注記へのリンク: <strong>#124-6</strong> または <strong>#124#note-6</strong></li>
46 </ul>
46 </ul>
47
47
48 <p>Wiki links:</p>
48 <p>Wikiへのリンク:</p>
49
49
50 <ul>
50 <ul>
51 <li><strong>[[Guide]]</strong> displays a link to the page named 'Guide': <a href="#" class="wiki-page">Guide</a></li>
51 <li><strong>[[Guide]]</strong> "Guide"という名称のページへのリンク: <a href="#" class="wiki-page">Guide</a></li>
52 <li><strong>[[Guide#further-reading]]</strong> takes you to the anchor "further-reading". Headings get automatically assigned anchors so that you can refer to them: <a href="#" class="wiki-page">Guide</a></li>
52 <li><strong>[[Guide#further-reading]]</strong> "Guide"というページ内の"further-reading"というアンカーに飛びます。見出しには自動的にアンカーが設定されるのでこのようにリンク先とすることができます: <a href="#" class="wiki-page">Guide</a></li>
53 <li><strong>[[Guide|User manual]]</strong> displays a link to the same page but with a different text: <a href="#" class="wiki-page">User manual</a></li>
53 <li><strong>[[Guide|User manual]]</strong> "Guide"というページへのリンクを異なるテキストで表示: <a href="#" class="wiki-page">User manual</a></li>
54 </ul>
54 </ul>
55
55
56 <p>You can also link to pages of an other project wiki:</p>
56 <p>別のプロジェクトのwikiへのリンクも可能です:</p>
57
57
58 <ul>
58 <ul>
59 <li><strong>[[sandbox:some page]]</strong> displays a link to the page named 'Some page' of the Sandbox wiki</li>
59 <li><strong>[[sandbox:some page]]</strong> sandboxというプロジェクトのwikiの"some page"という名称のページへのリンク</li>
60 <li><strong>[[sandbox:]]</strong> displays a link to the Sandbox wiki main page</li>
60 <li><strong>[[sandbox:]]</strong> sanbdoxというプロジェクトのwikiのメインページへのリンク</li>
61 </ul>
61 </ul>
62
62
63 <p>Wiki links are displayed in red if the page doesn't exist yet, eg: <a href="#" class="wiki-page new">Nonexistent page</a>.</p>
63 <p>存在しないwikiページへのリンクは赤で表示されます。 例: <a href="#" class="wiki-page new">Nonexistent page</a>.</p>
64
64
65 <p>Links to other resources:</p>
65 <p>そのほかのリソースへのリンク:</p>
66
66
67 <ul>
67 <ul>
68 <li>Documents:
68 <li>文書:
69 <ul>
69 <ul>
70 <li><strong>document#17</strong> (link to document with id 17)</li>
70 <li><strong>document#17</strong> (id 17の文書へのリンク)</li>
71 <li><strong>document:Greetings</strong> (link to the document with title "Greetings")</li>
71 <li><strong>document:Greetings</strong> ("Greetings" というタイトルの文書へのリンク)</li>
72 <li><strong>document:"Some document"</strong> (double quotes can be used when document title contains spaces)</li>
72 <li><strong>document:"Some document"</strong> (文書のタイトルに空白が含まれる場合はダブルクォーテーションで囲んでください)</li>
73 <li><strong>sandbox:document:"Some document"</strong> (link to a document with title "Some document" in other project "sandbox")</li>
73 <li><strong>sandbox:document:"Some document"</strong> ("sandbox" というプロジェクトの "Some document" というタイトルの文書へのリンク)</li>
74 </ul>
74 </ul>
75 </li>
75 </li>
76 </ul>
76 </ul>
77
77
78 <ul>
78 <ul>
79 <li>Versions:
79 <li>バージョン:
80 <ul>
80 <ul>
81 <li><strong>version#3</strong> (link to version with id 3)</li>
81 <li><strong>version#3</strong> (id 3のバージョンへのリンク)</li>
82 <li><strong>version:1.0.0</strong> (link to version named "1.0.0")</li>
82 <li><strong>version:1.0.0</strong> ("1.0.0"という名称のバージョンへのリンク)</li>
83 <li><strong>version:"1.0 beta 2"</strong></li>
83 <li><strong>version:"1.0 beta 2"</strong></li>
84 <li><strong>sandbox:version:1.0.0</strong> (link to version "1.0.0" in the project "sandbox")</li>
84 <li><strong>sandbox:version:1.0.0</strong> ("sandbox"というプロジェクトの "1.0.0" という名称のバージョンへのリンク)</li>
85 </ul>
85 </ul>
86 </li>
86 </li>
87 </ul>
87 </ul>
88
88
89 <ul>
89 <ul>
90 <li>Attachments:
90 <li>添付ファイル:
91 <ul>
91 <ul>
92 <li><strong>attachment:file.zip</strong> (link to the attachment of the current object named file.zip)</li>
92 <li><strong>attachment:file.zip</strong> (現在のオブジェクトに添付された file.zip というファイルへのリンク)</li>
93 <li>For now, attachments of the current object can be referenced only (if you're on an issue, it's possible to reference attachments of this issue only)</li>
93 <li>現在のオブジェクト上の添付ファイルのみリンク先として指定できます (例えばあるチケットからは、そのチケットに添付されたファイルのみリンク先にできます)</li>
94 </ul>
94 </ul>
95 </li>
95 </li>
96 </ul>
96 </ul>
97
97
98 <ul>
98 <ul>
99 <li>Changesets:
99 <li>チェンジセット:
100 <ul>
100 <ul>
101 <li><strong>r758</strong> (link to a changeset)</li>
101 <li><strong>r758</strong> (チェンジセットへのリンク)</li>
102 <li><strong>commit:c6f4d0fd</strong> (link to a changeset with a non-numeric hash)</li>
102 <li><strong>commit:c6f4d0fd</strong> (ハッシュ値によるチェンジセットへのリンク)</li>
103 <li><strong>svn1|r758</strong> (link to a changeset of a specific repository, for projects with multiple repositories)</li>
103 <li><strong>svn1|r758</strong> (複数のリポジトリが設定されたプロジェクトで、特定のリポジトリのチェンジセットへのリンク)</li>
104 <li><strong>commit:hg|c6f4d0fd</strong> (link to a changeset with a non-numeric hash of a specific repository)</li>
104 <li><strong>commit:hg|c6f4d0fd</strong> (ハッシュ値による、特定のリポジトリのチェンジセットへのリンク)</li>
105 <li><strong>sandbox:r758</strong> (link to a changeset of another project)</li>
105 <li><strong>sandbox:r758</strong> (他のプロジェクトのチェンジセットへのリンク)</li>
106 <li><strong>sandbox:commit:c6f4d0fd</strong> (link to a changeset with a non-numeric hash of another project)</li>
106 <li><strong>sandbox:commit:c6f4d0fd</strong> (ハッシュ値による、他のプロジェクトのチェンジセットへのリンク)</li>
107 </ul>
107 </ul>
108 </li>
108 </li>
109 </ul>
109 </ul>
110
110
111 <ul>
111 <ul>
112 <li>Repository files:
112 <li>リポジトリ内のファイル:
113 <ul>
113 <ul>
114 <li><strong>source:some/file</strong> (link to the file located at /some/file in the project's repository)</li>
114 <li><strong>source:some/file</strong> (プロジェクトのリポジトリ内の /some/file というファイルへのリンク)</li>
115 <li><strong>source:some/file@52</strong> (link to the file's revision 52)</li>
115 <li><strong>source:some/file@52</strong> (ファイルのリビジョン52へのリンク)</li>
116 <li><strong>source:some/file#L120</strong> (link to line 120 of the file)</li>
116 <li><strong>source:some/file#L120</strong> (ファイルの120行目へのリンク)</li>
117 <li><strong>source:some/file@52#L120</strong> (link to line 120 of the file's revision 52)</li>
117 <li><strong>source:some/file@52#L120</strong> (リビジョン52のファイルの120行目へのリンク)</li>
118 <li><strong>source:"some file@52#L120"</strong> (use double quotes when the URL contains spaces</li>
118 <li><strong>source:"some file@52#L120"</strong> (URLにスペースが含まれる場合はダブルクォーテーションで囲んでください)</li>
119 <li><strong>export:some/file</strong> (force the download of the file)</li>
119 <li><strong>export:some/file</strong> (ファイルのダウンロードを強制)</li>
120 <li><strong>source:svn1|some/file</strong> (link to a file of a specific repository, for projects with multiple repositories)</li>
120 <li><strong>source:svn1|some/file</strong> (複数のリポジトリが設定されたプロジェクトで、特定のリポジトリのファイルへのリンク)</li>
121 <li><strong>sandbox:source:some/file</strong> (link to the file located at /some/file in the repository of the project "sandbox")</li>
121 <li><strong>sandbox:source:some/file</strong> ("sandbox" というプロジェクトのリポジトリ上の /some/file というファイルへのリンク)</li>
122 <li><strong>sandbox:export:some/file</strong> (force the download of the file)</li>
122 <li><strong>sandbox:export:some/file</strong> (ファイルのダウンロードを強制)</li>
123 </ul>
123 </ul>
124 </li>
124 </li>
125 </ul>
125 </ul>
126
126
127 <ul>
127 <ul>
128 <li>Forums:
128 <li>フォーラム:
129 <ul>
129 <ul>
130 <li><strong>forum#1</strong> (link to forum with id 1</li>
130 <li><strong>forum#1</strong> (id 1のフォーラムへのリンク)</li>
131 <li><strong>forum:Support</strong> (link to forum named Support)</li>
131 <li><strong>forum:Support</strong> ("Support"という名称のフォーラムへのリンク)</li>
132 <li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
132 <li><strong>forum:"Technical Support"</strong> (フォーラム名に空白が含まれる場合はダブルクォーテーションで囲んでください)</li>
133 </ul>
133 </ul>
134 </li>
134 </li>
135 </ul>
135 </ul>
136
136
137 <ul>
137 <ul>
138 <li>Forum messages:
138 <li>フォーラムのメッセージ:
139 <ul>
139 <ul>
140 <li><strong>message#1218</strong> (link to message with id 1218)</li>
140 <li><strong>message#1218</strong> (id 1218のメッセージへのリンク)</li>
141 </ul>
141 </ul>
142 </li>
142 </li>
143 </ul>
143 </ul>
144
144
145 <ul>
145 <ul>
146 <li>Projects:
146 <li>プロジェクト:
147 <ul>
147 <ul>
148 <li><strong>project#3</strong> (link to project with id 3)</li>
148 <li><strong>project#3</strong> (id 3のプロジェクトへのリンク)</li>
149 <li><strong>project:some-project</strong> (link to project with name or slug of "some-project")</li>
149 <li><strong>project:someproject</strong> ("someproject"という名称のプロジェクトへのリンク)</li>
150 <li><strong>project:"Some Project"</strong> (use double quotes for project name containing spaces)</li>
150 <li><strong>project:"some project"</strong> (プロジェクト名に空白が含まれる場合はダブルクォーテーションで囲んでください)</li>
151 </ul>
151 </ul>
152 </li>
152 </li>
153 </ul>
153 </ul>
154
154
155 <ul>
155 <ul>
156 <li>News:
156 <li>ニュース:
157 <ul>
157 <ul>
158 <li><strong>news#2</strong> (link to news item with id 2)</li>
158 <li><strong>news#2</strong> (id 2のニュースへのリンク)</li>
159 <li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
159 <li><strong>news:Greetings</strong> ("Greetings"というタイトルのニュースへのリンク)</li>
160 <li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
160 <li><strong>news:"First Release"</strong> (タイトルに空白が含まれる場合はダブルクォーテーションで囲んでください)</li>
161 </ul>
161 </ul>
162 </li>
162 </li>
163 </ul>
163 </ul>
164
164
165 <p>Escaping:</p>
165 <p>エスケープ:</p>
166
166
167 <ul>
167 <ul>
168 <li>You can prevent Redmine links from being parsed by preceding them with an exclamation mark: !</li>
168 <li>テキストをRedmineのリンクとして解釈させたくない場合は感嘆符 ! を前につけてください。</li>
169 </ul>
169 </ul>
170
170
171
171
172 <h3><a name="4" class="wiki-page"></a>External links</h3>
172 <h3><a name="4" class="wiki-page"></a>外部リンク</h3>
173
173
174 <p>HTTP URLs and email addresses are automatically turned into clickable links:</p>
174 <p>HTTP URLとメールアドレスは自動的にリンクになります:</p>
175
175
176 <pre>
176 <pre>
177 http://www.redmine.org, someone@foo.bar
177 http://www.redmine.org, someone@foo.bar
178 </pre>
178 </pre>
179
179
180 <p>displays: <a class="external" href="http://www.redmine.org">http://www.redmine.org</a>, <a href="mailto:someone@foo.bar" class="email">someone@foo.bar</a></p>
180 <p>上記記述の表示例です: <a class="external" href="http://www.redmine.org">http://www.redmine.org</a>, <a href="mailto:someone@foo.bar" class="email">someone@foo.bar</a></p>
181
181
182 <p>If you want to display a specific text instead of the URL, you can use the standard markdown syntax:</p>
182 <p>URLのかわりに別のテキストを表示させたい場合は、通常のMarkdown記法が利用できます:</p>
183
183
184 <pre>
184 <pre>
185 [Redmine web site](http://www.redmine.org)
185 [Redmine web site](http://www.redmine.org)
186 </pre>
186 </pre>
187
187
188 <p>displays: <a href="http://www.redmine.org" class="external">Redmine web site</a></p>
188 <p>上記記述の表示例です: <a href="http://www.redmine.org" class="external">Redmine web site</a></p>
189
189
190
190
191 <h2><a name="5" class="wiki-page"></a>Text formatting</h2>
191 <h2><a name="5" class="wiki-page"></a>テキストの書式</h2>
192
192
193
193
194 <p>For things such as headlines, bold, tables, lists, Redmine supports Markdown syntax. See <a class="external" href="http://daringfireball.net/projects/markdown/syntax">http://daringfireball.net/projects/markdown/syntax</a> for information on using any of these features. A few samples are included below, but the engine is capable of much more of that.</p>
194 <p>見出し、太字、テーブル、リスト等は、RedmineはMarkdownでの記述に対応しています。Markdownの詳細は <a class="external" href="http://daringfireball.net/projects/markdown/syntax">http://daringfireball.net/projects/markdown/syntax</a> を参照してください。Markdownの一例を以下に示しますが、実際にはここで取り上げた以外の記法にも対応しています。</p>
195
195
196 <h3><a name="6" class="wiki-page"></a>Font style</h3>
196 <h3><a name="6" class="wiki-page"></a>文字の書式</h3>
197
197
198 <pre>
198 <pre>
199 * **bold**
199 * **太字**
200 * *Italic*
200 * *斜体*
201 * ***bold italic***
201 * ***太字で斜体***
202 * ~~strike-through~~
202 * ~~取り消し線~~
203 </pre>
203 </pre>
204
204
205 <p>Display:</p>
205 <p>表示例:</p>
206
206
207 <ul>
207 <ul>
208 <li><strong>bold</strong></li>
208 <li><strong>太字</strong></li>
209 <li><em>italic</em></li>
209 <li><em>斜体</em></li>
210 <li><em><strong>bold italic</strong></em></li>
210 <li><em><strong>太字で斜体</strong></em></li>
211 <li><del>strike-through</del></li>
211 <li><del>取り消し線</del></li>
212 </ul>
212 </ul>
213
213
214 <h3><a name="7" class="wiki-page"></a>Inline images</h3>
214 <h3><a name="7" class="wiki-page"></a>画像</h3>
215
215
216 <ul>
216 <ul>
217 <li><strong>![](image_url)</strong> displays an image located at image_url (markdown syntax)</li>
217 <li><strong>![](image_url)</strong> image_urlで指定されたURLの画像を表示 (Markdownの記法)</li>
218 <li>If you have an image attached to your wiki page, it can be displayed inline using its filename: <strong>![](attached_image)</strong></li>
218 <li>Wikiページに添付された画像があれば、ファイル名を指定して画像を表示させることができます: <strong>![](attached_image)</strong></li>
219 </ul>
219 </ul>
220
220
221 <h3><a name="8" class="wiki-page"></a>Headings</h3>
221 <h3><a name="8" class="wiki-page"></a>見出し</h3>
222
222
223 <pre>
223 <pre>
224 # Heading
224 # Heading
@@ -226,76 +226,76 http://www.redmine.org, someone@foo.bar
226 ### Subsubheading
226 ### Subsubheading
227 </pre>
227 </pre>
228
228
229 <p>Redmine assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth.</p>
229 <p>Redmineは見出しにアンカーを設定するので、"#Heading", "#Subheading"のように記述して見出しへのリンクが行えます。</p>
230
230
231
231
232 <h3><a name="10" class="wiki-page"></a>Blockquotes</h3>
232 <h3><a name="10" class="wiki-page"></a>引用</h3>
233
233
234 <p>Start the paragraph with <strong>&gt;</strong></p>
234 <p>段落を <strong>&gt;</strong> で開始してください。</p>
235
235
236 <pre>
236 <pre>
237 &gt; Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.
237 &gt; Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.
238 To go live, all you need to add is a database and a web server.
238 To go live, all you need to add is a database and a web server.
239 </pre>
239 </pre>
240
240
241 <p>Display:</p>
241 <p>表示例:</p>
242
242
243 <blockquote>
243 <blockquote>
244 <p>Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.<br />To go live, all you need to add is a database and a web server.</p>
244 <p>Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.<br />To go live, all you need to add is a database and a web server.</p>
245 </blockquote>
245 </blockquote>
246
246
247
247
248 <h3><a name="11" class="wiki-page"></a>Table of content</h3>
248 <h3><a name="11" class="wiki-page"></a>目次</h3>
249
249
250 <pre>
250 <pre>
251 {{toc}} =&gt; left aligned toc
251 {{toc}} =&gt; 目次(左寄せ)
252 {{&gt;toc}} =&gt; right aligned toc
252 {{&gt;toc}} =&gt; 目次(右寄せ)
253 </pre>
253 </pre>
254
254
255 <h3><a name="14" class="wiki-page"></a>Horizontal Rule</h3>
255 <h3><a name="14" class="wiki-page"></a>区切り線</h3>
256
256
257 <pre>
257 <pre>
258 ---
258 ---
259 </pre>
259 </pre>
260
260
261 <h2><a name="12" class="wiki-page"></a>Macros</h2>
261 <h2><a name="12" class="wiki-page"></a>マクロ</h2>
262
262
263 <p>Redmine has the following builtin macros:</p>
263 <p>Redmineには以下の組み込みマクロが用意されています:</p>
264
264
265 <p>
265 <p>
266 <dl>
266 <dl>
267 <dt><code>hello_world</code></dt>
267 <dt><code>hello_world</code></dt>
268 <dd><p>Sample macro.</p></dd>
268 <dd><p>サンプルのマクロです。</p></dd>
269
269
270 <dt><code>macro_list</code></dt>
270 <dt><code>macro_list</code></dt>
271 <dd><p>Displays a list of all available macros, including description if available.</p></dd>
271 <dd><p>利用可能なマクロの一覧を表示します。マクロの説明があればそれも表示します。</p></dd>
272
272
273 <dt><code>child_pages</code></dt>
273 <dt><code>child_pages</code></dt>
274 <dd><p>Displays a list of child pages. With no argument, it displays the child pages of the current wiki page. Examples:</p>
274 <dd><p>子ページの一覧を表示します。引数の指定が無ければ現在のwikiページの子ページを表示します。以下は使用例です:</p>
275 <pre><code>{{child_pages}} -- can be used from a wiki page only
275 <pre><code>{{child_pages}} -- wikiページでのみ使用可能です
276 {{child_pages(depth=2)}} -- display 2 levels nesting only</code></pre></dd>
276 {{child_pages(depth=2)}} -- 2階層分のみ表示します</code></pre></dd>
277
277
278 <dt><code>include</code></dt>
278 <dt><code>include</code></dt>
279 <dd><p>Include a wiki page. Example:</p>
279 <dd><p>別のWikiページの内容を挿入します。 以下は使用例です:</p>
280 <pre><code>{{include(Foo)}}</code></pre>
280 <pre><code>{{include(Foo)}}</code></pre>
281 <p>or to include a page of a specific project wiki:</p>
281 <p>別プロジェクトのWikiページを挿入することもできます:</p>
282 <pre><code>{{include(projectname:Foo)}}</code></pre></dd>
282 <pre><code>{{include(projectname:Foo)}}</code></pre></dd>
283
283
284 <dt><code>collapse</code></dt>
284 <dt><code>collapse</code></dt>
285 <dd><p>Inserts of collapsed block of text. Example:</p>
285 <dd><p>折り畳まれた状態のテキストを挿入します。以下は使用例です:</p>
286 <pre><code>{{collapse(View details...)
286 <pre><code>{{collapse(詳細を表示...)
287 This is a block of text that is collapsed by default.
287 この部分はデフォルトでは折り畳まれた状態で表示されます。
288 It can be expanded by clicking a link.
288 リンクをクリックすると展開されます。
289 }}</code></pre></dd>
289 }}</code></pre></dd>
290
290
291 <dt><code>thumbnail</code></dt>
291 <dt><code>thumbnail</code></dt>
292 <dd><p>Displays a clickable thumbnail of an attached image. Examples:</p>
292 <dd><p>添付ファイルのクリック可能なサムネイル画像を表示します。以下は使用例です:</p>
293 <pre>{{thumbnail(image.png)}}
293 <pre>{{thumbnail(image.png)}}
294 {{thumbnail(image.png, size=300, title=Thumbnail)}}</pre></dd>
294 {{thumbnail(image.png, size=300, title=Thumbnail)}}</pre></dd>
295 </dl>
295 </dl>
296 </p>
296 </p>
297
297
298 <h2><a name="13" class="wiki-page"></a>Code highlighting</h2>
298 <h2><a name="13" class="wiki-page"></a>コードハイライト</h2>
299
299
300 <p>Default code highlightment relies on <a href="http://coderay.rubychan.de/" class="external">CodeRay</a>, a fast syntax highlighting library written completely in Ruby. It currently supports 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) languages, where the names inside parentheses are aliases.</p>
300 <p>Default code highlightment relies on <a href="http://coderay.rubychan.de/" class="external">CodeRay</a>, a fast syntax highlighting library written completely in Ruby. It currently supports 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) languages, where the names inside parentheses are aliases.</p>
301
301
@@ -307,7 +307,7 It can be expanded by clicking a link.
307 ~~~
307 ~~~
308 </pre>
308 </pre>
309
309
310 <p>Example:</p>
310 <p>表示例:</p>
311
311
312 <pre><code class="ruby syntaxhl"><span class="CodeRay"><span class="comment"># The Greeter class</span>
312 <pre><code class="ruby syntaxhl"><span class="CodeRay"><span class="comment"># The Greeter class</span>
313 <span class="keyword">class</span> <span class="class">Greeter</span>
313 <span class="keyword">class</span> <span class="class">Greeter</span>
@@ -20,44 +20,44 table.sample th, table.sample td { border: solid 1px #bbb; padding: 4px; height:
20 </head>
20 </head>
21 <body>
21 <body>
22
22
23 <h1>Wiki Syntax Quick Reference (Markdown)</h1>
23 <h1>Wiki記法 クイックリファレンス (Markdown)</h1>
24
24
25 <table style="width:100%">
25 <table style="width:100%">
26 <tr><th colspan="3">Font Styles</th></tr>
26 <tr><th colspan="3">Font Styles</th></tr>
27 <tr><th><img src="../../images/jstoolbar/bt_strong.png" style="border: 1px solid #bbb;" alt="Strong" /></th><td style="width:50%;">**Strong**</td><td style="width:50%;"><strong>Strong</strong></td></tr>
27 <tr><th><img src="../../images/jstoolbar/bt_strong.png" style="border: 1px solid #bbb;" alt="太字" /></th><td style="width:50%;">**太字**</td><td style="width:50%;"><strong>太字</strong></td></tr>
28 <tr><th><img src="../../images/jstoolbar/bt_em.png" style="border: 1px solid #bbb;" alt="Italic" /></th><td>*Italic*</td><td><em>Italic</em></td></tr>
28 <tr><th><img src="../../images/jstoolbar/bt_em.png" style="border: 1px solid #bbb;" alt="斜体" /></th><td>*斜体*</td><td><em>斜体</em></td></tr>
29 <tr><th><img src="../../images/jstoolbar/bt_del.png" style="border: 1px solid #bbb;" alt="Deleted" /></th><td>~~Deleted~~</td><td><del>Deleted</del></td></tr>
29 <tr><th><img src="../../images/jstoolbar/bt_del.png" style="border: 1px solid #bbb;" alt="取り消し線" /></th><td>~~取り消し線~~</td><td><del>取り消し線</del></td></tr>
30 <tr><th><img src="../../images/jstoolbar/bt_code.png" style="border: 1px solid #bbb;" alt="Inline Code" /></th><td>`Inline Code`</td><td><code>Inline Code</code></td></tr>
30 <tr><th><img src="../../images/jstoolbar/bt_code.png" style="border: 1px solid #bbb;" alt="コード" /></th><td>`コード`</td><td><code>コード</code></td></tr>
31 <tr><th><img src="../../images/jstoolbar/bt_pre.png" style="border: 1px solid #bbb;" alt="Preformatted text" /></th><td>~~~<br />&nbsp;lines<br />&nbsp;of code<br />~~~</td><td>
31 <tr><th><img src="../../images/jstoolbar/bt_pre.png" style="border: 1px solid #bbb;" alt="整形済みテキスト" /></th><td>~~~<br />&nbsp;複数行の<br />&nbsp;コード<br />~~~</td><td>
32 <pre>
32 <pre>
33 lines
33 複数行の
34 of code
34 コード
35 </pre>
35 </pre>
36 </td></tr>
36 </td></tr>
37
37
38 <tr><th colspan="3">Lists</th></tr>
38 <tr><th colspan="3">リスト</th></tr>
39 <tr><th><img src="../../images/jstoolbar/bt_ul.png" style="border: 1px solid #bbb;" alt="Unordered list" /></th><td>* Item 1<br />&nbsp;&nbsp;* Sub<br />* Item 2</td><td><ul><li>Item 1<ul><li>Sub</li></ul></li><li>Item 2</li></ul></td></tr>
39 <tr><th><img src="../../images/jstoolbar/bt_ul.png" style="border: 1px solid #bbb;" alt="リスト" /></th><td>* 項目1<br />&nbsp;&nbsp;* 下位階層の項目<br />* 項目2</td><td><ul><li>項目1<ul><li>下位階層の項目</li></ul></li><li>項目2</li></ul></td></tr>
40 <tr><th><img src="../../images/jstoolbar/bt_ol.png" style="border: 1px solid #bbb;" alt="Ordered list" /></th><td>1. Item 1<br />&nbsp;&nbsp;&nbsp;1. Sub<br />2. Item 2</td><td><ol><li>Item 1<ol><li>Sub</li></ol></li><li>Item 2</li></ol></td></tr>
40 <tr><th><img src="../../images/jstoolbar/bt_ol.png" style="border: 1px solid #bbb;" alt="順序付きリスト" /></th><td>1. 項目1<br />&nbsp;&nbsp;&nbsp;1. 下位階層の項目<br />2. 項目2</td><td><ol><li>項目1<ol><li>下位階層の項目</li></ol></li><li>項目2</li></ol></td></tr>
41
41
42 <tr><th colspan="3">Headings</th></tr>
42 <tr><th colspan="3">見出し</th></tr>
43 <tr><th><img src="../../images/jstoolbar/bt_h1.png" style="border: 1px solid #bbb;" alt="Heading 1" /></th><td># Title 1</td><td><h1>Title 1</h1></td></tr>
43 <tr><th><img src="../../images/jstoolbar/bt_h1.png" style="border: 1px solid #bbb;" alt="Heading 1" /></th><td># タイトル1</td><td><h1>タイトル1</h1></td></tr>
44 <tr><th><img src="../../images/jstoolbar/bt_h2.png" style="border: 1px solid #bbb;" alt="Heading 2" /></th><td>## Title 2</td><td><h2>Title 2</h2></td></tr>
44 <tr><th><img src="../../images/jstoolbar/bt_h2.png" style="border: 1px solid #bbb;" alt="Heading 2" /></th><td>## タイトル2</td><td><h2>タイトル2</h2></td></tr>
45 <tr><th><img src="../../images/jstoolbar/bt_h3.png" style="border: 1px solid #bbb;" alt="Heading 3" /></th><td>### Title 3</td><td><h3>Title 3</h3></td></tr>
45 <tr><th><img src="../../images/jstoolbar/bt_h3.png" style="border: 1px solid #bbb;" alt="Heading 3" /></th><td>### タイトル3</td><td><h3>タイトル3</h3></td></tr>
46
46
47 <tr><th colspan="3">Links</th></tr>
47 <tr><th colspan="3">リンク</th></tr>
48 <tr><th></th><td>http://foo.bar</td><td><a href="#">http://foo.bar</a></td></tr>
48 <tr><th></th><td>http://foo.bar</td><td><a href="#">http://foo.bar</a></td></tr>
49 <tr><th></th><td>[Foo](http://foo.bar)</td><td><a href="#">Foo</a></td></tr>
49 <tr><th></th><td>[Foo](http://foo.bar)</td><td><a href="#">Foo</a></td></tr>
50
50
51 <tr><th colspan="3">Redmine links</th></tr>
51 <tr><th colspan="3">Redmine内のリンク</th></tr>
52 <tr><th><img src="../../images/jstoolbar/bt_link.png" style="border: 1px solid #bbb;" alt="Link to a Wiki page" /></th><td>[[Wiki page]]</td><td><a href="#">Wiki page</a></td></tr>
52 <tr><th><img src="../../images/jstoolbar/bt_link.png" style="border: 1px solid #bbb;" alt="Wikiページへのリンク" /></th><td>[[Wiki page]]</td><td><a href="#">Wiki page</a></td></tr>
53 <tr><th></th><td>Issue #12</td><td>Issue <a href="#">#12</a></td></tr>
53 <tr><th></th><td>チケット #12</td><td>チケット <a href="#">#12</a></td></tr>
54 <tr><th></th><td>Revision r43</td><td>Revision <a href="#">r43</a></td></tr>
54 <tr><th></th><td>リビジョン r43</td><td>リビジョン <a href="#">r43</a></td></tr>
55 <tr><th></th><td>commit:f30e13e43</td><td><a href="#">f30e13e4</a></td></tr>
55 <tr><th></th><td>commit:f30e13e43</td><td><a href="#">f30e13e4</a></td></tr>
56 <tr><th></th><td>source:some/file</td><td><a href="#">source:some/file</a></td></tr>
56 <tr><th></th><td>source:some/file</td><td><a href="#">source:some/file</a></td></tr>
57
57
58 <tr><th colspan="3">Inline images</th></tr>
58 <tr><th colspan="3">画像</th></tr>
59 <tr><th><img src="../../images/jstoolbar/bt_img.png" style="border: 1px solid #bbb;" alt="Image" /></th><td>![](<em>image_url</em>)</td><td></td></tr>
59 <tr><th><img src="../../images/jstoolbar/bt_img.png" style="border: 1px solid #bbb;" alt="Image" /></th><td>![](<em>画像URL</em>)</td><td></td></tr>
60 <tr><th></th><td>![](<em>attached_image</em>)</td><td></td></tr>
60 <tr><th></th><td>![](<em>添付ファイル名</em>)</td><td></td></tr>
61
61
62 <tr><th colspan="3">Tables</th></tr>
62 <tr><th colspan="3">Tables</th></tr>
63 <tr>
63 <tr>
@@ -76,7 +76,7 table.sample th, table.sample td { border: solid 1px #bbb; padding: 4px; height:
76
76
77 </table>
77 </table>
78
78
79 <p><a href="wiki_syntax_detailed_markdown.html" onclick="window.open('wiki_syntax_detailed_markdown.html', '', ''); return false;">More Information</a></p>
79 <p><a href="wiki_syntax_detailed_markdown.html" onclick="window.open('wiki_syntax_detailed_markdown.html', '', ''); return false;">より詳細なリファレンス</a></p>
80
80
81 </body>
81 </body>
82 </html>
82 </html>
General Comments 0
You need to be logged in to leave comments. Login now