wiki:syntax
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
| wiki:syntax [2011/01/07 14:06] – sahara.satoshi | wiki:syntax [2011/12/13 19:56] (現在) – 外部編集 127.0.0.1 | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| - | ====== Formatting Syntax | + | ====== Formatting Syntax ====== |
| + | |||
| + | <fs 120%> | ||
| 文章の整形を行うには、シンプルなマークアップ記法を用います。 | 文章の整形を行うには、シンプルなマークアップ記法を用います。 | ||
| 行 7: | 行 9: | ||
| ためしに編集をしてみたい場合には、 [[playground: | ためしに編集をしてみたい場合には、 [[playground: | ||
| 主な記法は、[[doku> | 主な記法は、[[doku> | ||
| + | |||
| + | * [[doku> | ||
| + | * [[http:// | ||
| + | |||
| + | ===== セクション見出し ===== | ||
| + | |||
| + | 最大 5 つのレベルまでの見出しを使って、文章の構造化を行えます。 | ||
| + | 3 つ以上の見出しを記述すると、目次が自動的に生成されます(画面の右上)。 | ||
| + | |||
| + | ==== 第 3 見出し ==== | ||
| + | === 第 4 見出し === | ||
| + | == 第 5 見出し == | ||
| + | |||
| + | ==== 第 3 見出し ==== | ||
| + | === 第 4 見出し === | ||
| + | == 第 5 見出し == | ||
| + | |||
| - | ===== 段落 ===== | + | ===== 段落 |
| - | **段落**と段落を区切るためには、ソースでは** 空行(改行だけの行)**を入れます。 | + | **段落** |
| 複数の連続空行があっても、段落と段落の間が大きくならず、言い換えると「見栄えに影響しません」。 | 複数の連続空行があっても、段落と段落の間が大きくならず、言い換えると「見栄えに影響しません」。 | ||
| 行 30: | 行 49: | ||
| + | ===== リスト (箇条書き段落)===== | ||
| + | Also take a look at the [[doku> | ||
| - | ===== Basic Text Formatting | 基本的なテキスト整形 ===== | + | リスト(番号付き・番号無し)を利用できます。行頭にスペースを 2 つ連ねた後に、'' |
| - | DokuWiki supports | + | |
| + | | ||
| + | | ||
| + | | ||
| - | 文字飾りとして **太字**、 // | + | - 番号付きリストです |
| + | - 次の要素です | ||
| + | - 入れ子にするにはインデントを深くします | ||
| + | - 以上です | ||
| - | DokuWiki supports **bold**, //italic//, __underlined__ and '' | + | < |
| - | | + | |
| + | * 2番目の要素です | ||
| + | | ||
| + | | ||
| - | You can use < | + | - 番号付きリストです |
| + | - 次の要素です | ||
| + | - 入れ子にするにはインデントを深くします | ||
| + | - 以上です | ||
| + | </code> | ||
| - | さらに < | ||
| - | You can use < | + | ===== 文字装飾 ===== |
| - | You can mark something as < | + | - **太字** , **bold** |
| + | - //斜体// , | ||
| + | - __下線__ , __underlined__ | ||
| + | - 等幅文字 , '' | ||
| + | - これらの **__//'' | ||
| + | - < | ||
| + | - < | ||
| + | - < | ||
| - | < | + | < |
| + | - **太字** , **bold** | ||
| + | - //斜体// , | ||
| + | - __下線__ , __underlined__ | ||
| + | - 等幅文字 , '' | ||
| + | - これらの **__//'' | ||
| + | - < | ||
| + | - < | ||
| + | - < | ||
| + | </ | ||
| - | You can mark something as < | ||
| - | **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line. | + | ===== 脚注 (Footnotes) ===== |
| - | + | ||
| - | 空行をおくと、**段落** となります。 | + | |
| - | 段落内で **強制的に改行** するには、バックスラッシュ(日本語環境では円記号¥) | + | |
| - | を 2 つ連ねた後に空白文字を置くか改行します。 | + | |
| - | + | ||
| - | + | ||
| - | This is some text with some linebreaks\\ Note that the | + | |
| - | two backslashes are only recognized at the end of a line\\ | + | |
| - | or followed by\\ a whitespace \\this happens without it. | + | |
| - | + | ||
| - | この文は改行\\ を含んでいます。2 連バックスラッシュが | + | |
| - | 改行として処理されるのは、空白文字が続く\\ か行の最後\\ | + | |
| - | にある場合だけで、\\それ以外はそのまま表示されます。 | + | |
| + | 脚注 ((これが脚注です)) には、2連の丸カッコを用います。2連の丸カッコの前後に、半角スペースが必要です。 | ||
| - | | + | |
| - | two backslashes are only recognized at the end of a line\\ | + | |
| - | or followed by\\ a whitespace \\this happens without it. | + | |
| - | You should use forced newlines only if really needed. | ||
| - | 強制改行は、どうしても必要な場合だけ使ってください。 | ||
| 行 147: | 行 179: | ||
| The whole [[# | The whole [[# | ||
| - | ===== Footnotes ===== | ||
| - | |||
| - | You can add footnotes ((This is a footnote)) by using double parentheses. | ||
| - | |||
| - | You can add footnotes ((This is a footnote)) by using double parentheses. | ||
| - | |||
| - | ===== Sectioning ===== | ||
| - | |||
| - | You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string ''< | ||
| - | |||
| - | ==== Headline Level 3 ==== | ||
| - | === Headline Level 4 === | ||
| - | == Headline Level 5 == | ||
| - | |||
| - | ==== Headline Level 3 ==== | ||
| - | === Headline Level 4 === | ||
| - | == Headline Level 5 == | ||
| - | |||
| - | By using four or more dashes, you can make a horizontal line: | ||
| - | |||
| - | ---- | ||
| ===== Images and Other Files ===== | ===== Images and Other Files ===== | ||
| 行 209: | 行 220: | ||
| For linking an image to another page see [[#Image Links]] above. | For linking an image to another page see [[#Image Links]] above. | ||
| - | ===== Lists ===== | ||
| - | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' | ||
| - | |||
| - | * This is a list | ||
| - | * The second item | ||
| - | * You may have different levels | ||
| - | * Another item | ||
| - | |||
| - | - The same list but ordered | ||
| - | - Another item | ||
| - | - Just use indention for deeper levels | ||
| - | - That's it | ||
| - | |||
| - | < | ||
| - | * This is a list | ||
| - | * The second item | ||
| - | * You may have different levels | ||
| - | * Another item | ||
| - | |||
| - | - The same list but ordered | ||
| - | - Another item | ||
| - | - Just use indention for deeper levels | ||
| - | - That's it | ||
| - | </ | ||
| - | |||
| - | Also take a look at the [[doku> | ||
| ===== Text Conversions ===== | ===== Text Conversions ===== | ||
wiki/syntax.1294376800.txt.gz · 最終更新: 2011/01/07 14:06 (外部編集)