Changes between Version 1 and Version 2 of WikiFormatting


Ignore:
Timestamp:
Jun 21, 2005, 1:13:36 AM (19 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiFormatting

    v1 v2  
    1 = WikiFormatting =
    2 
    3 Wiki markup is a core feature in Trac, tightly integrating all the other parts of Trac into flexible and powerful whole.
    4 
    5 Trac has a built in small and powerful wiki rendering engine. This wiki engine implements an ever growing subset of the commands from other popular Wikis especially [http://moin.sf.net/ MoinWiki].
    6 
    7 This page demonstrates the formatting syntax available anywhere WikiFormatting is allowed.
    8 
    9 == Font styles ==
    10 
    11 The Trac wiki support the following font styles: '''bold''', ''italic'',
    12 __underline__ and ~~strike-through~~.
    13 
    14 {{{
    15 The Trac wiki support the following font styles: '''bold''', ''italic'',
    16 __underline__ and ~~strike-through~~.
    17 }}}
    18 
    19 
    20 == Heading ==
    21 
    22 You can create heading by starting a line with one up to five ''equal\\ '=' characters
    23 followed by a single space and the headline text. The line should end with a space
    24 followed by the same number of ''equal'' characters.
    25 
    26 ''Note: As of writing, headings cannot contain TracLinks.''
    27 
    28 === Example: ===
    29 {{{
    30 = Heading =
    31 == Subheading ==
    32 }}}
    33 
    34 
    35 == Paragraphs ==
    36 
    37 A new text paragraph is created whenever two blocks of text are separated
    38 by one or more empty lines.
    39 
    40 A forced line break can also be inserted, using:
    41 {{{
    42 Line 1[[BR]]Line 2
    43 }}}
    44 Display:
    45 
    46 Line 1[[BR]]Line 2
    47 
    48   Text paragraphs can be indented by starting the lines with two or more spaces.
    49 
    50 == Lists ==
    51 The wiki supports both ordered/numbered and unordered lists.
    52 
    53 Example:
     1= Wiki 文法 =
     2
     3Wiki マークアップは Trac のコアとなる機能です。他のパーツと緊密に統合することによって、Trac をフレキシブルかつ強力にしています。
     4
     5Trac は小さく強力な Wiki レンダリングエンジンをビルトインしています。この Wiki エンジンは、他のポピュラーな Wiki (特に [http://moin.sf.net/ MoinWiki])からのコマンドの強化サブセットを実装しています。
     6
     7このページは、 WikiFormatting でフォーマットできる文法の文例集です。
     8
     9== フォントスタイル ==
     10
     11Trac の Wiki は以下のフォントスタイルをサポートしています: '''ボールド''', ''イタリック'',
     12__アンダーライン__ and ~~取り消し線~~。
     13
     14{{{
     15Trac の Wiki は以下のフォントスタイルをサポートしています: '''ボールド''', ''イタリック'',
     16__アンダーライン__ and ~~取り消し線~~。
     17}}}
     18
     19
     20== 見出し ==
     21
     221文字から5文字の「イコール '='」を行頭に置き、1文字のスペースに続けてタイトルを置くと、
     23見出しになります。見出しの行末は1文字のスペースに続けて、行頭と同じ数の ''イコール (=)''を
     24置きます。
     25
     26''Note: 見出しの箇所は、 TracLinks の対象になりません。''
     27
     28=== : ===
     29{{{
     30= 見出し(第1レベル) =
     31== 見出し(第2レベル) ==
     32}}}
     33
     34
     35== 改行 ==
     36
     372つのテキストブロックの間に1行以上の空行がある場合、新しい段落として改行を行います。
     38(訳注: HTMLでは、p要素になります)
     39
     40強制的に改行だけを行いたい場合、このように書いてください:
     41{{{
     421行目[[BR]]2行目
     43}}}
     44以下のように表示されます:
     45
     461行目[[BR]]2行目
     47
     48  2文字以上のスペースで行が始まる場合、段落と認識されます。(訳注: この場合、空白の数に応じてネストします。)
     49
     50== リスト ==
     51番号付きリストと番号無しリストの両方をサポートします。
     52
     53:
    5454{{{
    5555 * Item 1
     
    6161 1. Item 2
    6262}}}
    63 Display:
     63表示内容:
    6464 * Item 1
    6565   * Item 1.1
     
    7070 1. Item 2
    7171
    72 == Preformatted text ==
    73 Block quotes, preformatted text, are suitable for source code snippets, notes and examples. Use three ''curly braces'' wrapped around the text to define a block quote:
     72== 整形済みテキスト ==
     73引用ブロック(block quote)、整形済みテキストは、ソースコードの一部や、ノート、例示に適しています。引用ブロックとしたいテキストの前後を、3つの ''ブレース (curly braces)'' で括ってください。
    7474 
    75 Example:
     75:
    7676{{{
    7777 {{{
     
    8181}}}
    8282
    83 Display:
     83表示内容:
    8484{{{
    8585 def HelloWorld()
     
    8787}}}
    8888
    89 == Tables ==
    90 
    91 Simple tables can be created like this:
     89== ==
     90
     91簡単なテーブルはこのように記述します:
    9292{{{
    9393||Cell 1||Cell 2||Cell 3||
    9494||Cell 4||Cell 5||Cell 6||
    9595}}}
    96 Display:
     96以下の通り表示されます:
    9797||Cell 1||Cell 2||Cell 3||
    9898||Cell 4||Cell 5||Cell 6||
    9999
    100 == Links ==
    101 
    102 !Hyperlinks are automatically created for WikiPageNames and urls. !WikiPageLinks can be disabled by
    103 prepending an exclamation mark (!) character, such as {{{!WikiPageLink}}}.
    104 
    105 Examples:
     100== リンク ==
     101
     102WikiPageNames や URL は自動的にハイパーリンクされます。 !WikiPageLinks を無効化したい場合、
     103 {{{!WikiPageLink}}} のように、エクラメーションマーク (!) を語頭に置きます。
     104
     105:
    106106
    107107 TitleIndex, http://www.edgewall.com/.
    108108
    109 Links can be given a more descriptive title by writing the link followed by
    110 a space and a title and all this inside two square brackets. Like this:
     109リンク先そのものでなくリンク先の内容説明やタイトルを表示させたい場合、
     110角括弧 (square bracket) で括り、リンクに続いて1文字の空白を開けて記述します:
    111111{{{
    112112 * [http://www.edgewall.com/ Edgewall Software]
    113113 * [wiki:TitleIndex Title Index]
    114114}}}
    115 Display:
     115以下のように表示されます:
    116116
    117117 * [http://www.edgewall.com/ Edgewall Software]
    118118 * [wiki:TitleIndex Title Index]
    119119
    120 === Trac Links ===
    121 
    122 Wiki pages can link directly to other parts of the Trac system.
    123 Pages can refer to tickets, reports, changesets, milestones, source files and
    124 other Wiki pages using the following notation:
    125  * Tickets: '''!#1''' or '''!ticket:1'''
    126  * Reports: '''!{1}''' or '''!report:1'''
    127  * Changesets: '''![1]''' or '''!changeset:1'''
    128  * Wiki pages: '''CamelCase''' or '''!wiki:CamelCase'''
    129  * Milestones: '''!milestone:1.0'''
    130  * Files: '''!source:trunk/COPYING'''
    131  * A specific file revision: '''!source:/trunk/COPYING#200'''
    132 Display:
    133  * Tickets: #1 or ticket:1
    134  * Reports: {1} or report:1
    135  * Changesets: [1] or changeset:1
    136  * Wiki pages: CamelCase or wiki:CamelCase
    137  * Milestones: milestone:1.0
    138  * Files: source:trunk/COPYING
    139  * A specific file revision: source:/trunk/COPYING#200
    140 
    141 See TracLinks for more in-depth information.
    142 
    143 == Escaping Links and WikiNames ==
    144 You may avoid making hyperlinks out of TracLinks by preceding an expression with a single '!' (exclamation mark).
     120=== Trac リンク ===
     121
     122Wiki ページでは Trac の他のコンポーネントに直接リンクできます。
     123チケット、レポート、チェンジセット、マイルストーン、ソースファイル、
     124他の Wiki ページへは以下のようにリンクを記述します:
     125 * チケット: '''!#1''' もしくは '''!ticket:1'''
     126 * レポート: '''!{1}''' もしくは '''!report:1'''
     127 * チェンジセット: '''![1]''' もしくは '''!changeset:1'''
     128 * Wiki ページ: '''CamelCase''' もしくは '''!wiki:CamelCase'''
     129 * マイルストーン: '''!milestone:1.0'''
     130 * ファイル: '''!source:trunk/COPYING'''
     131 * 特定リビジョンのファイル: '''!source:/trunk/COPYING#200'''
     132以下のように表示されます:
     133 * チケット: #1 もしくは ticket:1
     134 * レポート: {1} もしくは report:1
     135 * チェンジセット: [1] もしくは changeset:1
     136 * Wiki ページ: CamelCase もしくは wiki:CamelCase
     137 * マイルストーン: milestone:1.0
     138 * ファイル: source:trunk/COPYING
     139 * 特定リビジョンのファイル: source:/trunk/COPYING#200
     140
     141より深い情報は TracLinks に記述されています。
     142
     143== リンクの無効化 ==
     144エクラメーションマーク(!)を語頭に付与することで、 TracLinks が出力するハイパーリンクを無効化できます。
    145145
    146146{{{
    147147 !NoHyperLink
    148  !#42 is not a link
    149 }}}
    150 
    151 Display:
     148 !#42 はリンクではありません。
     149}}}
     150
     151表示内容:
    152152 !NoHyperLink
    153  !#42 is not a link
    154 
    155 == Images ==
    156 
    157 Urls ending with .png, .gif or .jpg are automatically interpreted as image links, and converted to IMG tags.
    158 
    159 Example:
     153 !#42 はリンクではありません。
     154
     155== 画像 ==
     156
     157URL が .png, .gif, .jpg で終わっている場合、自動的にイメージへのリンクとみなされ、 img タグに変換されます。
     158
     159:
    160160{{{
    161161http://www.edgewall.com/gfx/trac_example_image.png
    162162}}}
    163 Display:
     163表示内容:
    164164
    165165http://www.edgewall.com/gfx/trac_example_image.png
    166166
    167 == Macros ==
    168 Macros are ''custom functions'' to insert dynamic content in a page. See WikiMacros for usage.
    169 
    170 Example:
     167== マクロ ==
     168マクロは、動的コンテンツを Wiki ページに挿入するための ''カスタム関数'' です。使用方法は WikiMacros に記述されています。
     169
     170:
    171171{{{
    172172 [[Timestamp]]
    173173}}}
    174 Display:
     174表示内容:
    175175 [[Timestamp]]
    176176
    177 == Processors ==
    178 Trac supports alternative markup formats using WikiProcessors. For example, processors are used to write pages in [wiki:WikiRestructuredText reStructuredText] or [wiki:WikiHtml HTML].
    179 
    180 See WikiProcessors for more information.
    181 
    182 '''Example 1:'''
     177== プロセッサ ==
     178Trac は WikiProcessors の機能によって、 Wiki 以外のマークアップもサポートしています。例えば、プロセッサとしてページの描画に [wiki:WikiRestructuredText reStructuredText] や [wiki:WikiHtml HTML] を使用することができます。
     179
     180より詳細な情報は WikiProcessors に記載されています。
     181
     182'''1:'''
    183183{{{
    184184#!html
    185185<pre class="wiki">{{{
    186186#!html
    187 &lt;h1 style="text-align: right; color: blue"&gt;HTML Test&lt;/h1&gt;
     187&lt;h1 style="text-align: right; color: blue"&gt;HTMLテキスト&lt;/h1&gt;
    188188}}}</pre>
    189189}}}
    190 Display:
    191 {{{
    192 #!html
    193 <h1 style="text-align: right; color: blue">HTML Test</h1>
    194 }}}
    195 
    196 '''Example 2:'''
     190表示内容:
     191{{{
     192#!html
     193<h1 style="text-align: right; color: blue">HTMLテキスト</h1>
     194}}}
     195
     196'''2:'''
    197197{{{
    198198#!html
     
    206206}}}</pre>
    207207}}}
    208 Display:
     208表示内容:
    209209{{{
    210210#!python
     
    216216}}}
    217217
    218 == Miscellaneous ==
    219 
    220 Four or more dashes will be replaced by a horizontal line (<HR>)
     218== その他 ==
     219
     2204文字以上のハイフン (-) は水平ライン (<hr>) に置き換えられます。
    221221
    222222{{{
     
    224224}}}
    225225
    226 Display:
     226表示例:
    227227----
    228228
    229229
    230230----
    231 See also: TracLinks, TracGuide, WikiHtml, WikiMacros, WikiProcessors, TracSyntaxColoring.
    232 
     231参考: TracLinks, TracGuide, WikiHtml, WikiMacros, WikiProcessors, TracSyntaxColoring.
     232