wiki:syntax
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
wiki:syntax [2011/01/07 14:03] – sahara.satoshi | wiki:syntax [2011/12/13 19:56] (現在) – 外部編集 127.0.0.1 | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== Formatting Syntax | + | ====== Formatting Syntax ====== |
- | [[doku>DokuWiki]] supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing the //Edit this page// button at the top or bottom of the page. If you want to try something, just use the [[playground: | + | <fs 120%>整形記法< |
文章の整形を行うには、シンプルなマークアップ記法を用います。 | 文章の整形を行うには、シンプルなマークアップ記法を用います。 | ||
行 10: | 行 10: | ||
主な記法は、[[doku> | 主な記法は、[[doku> | ||
+ | * [[doku> | ||
+ | * [[http:// | ||
- | ===== 段落 | + | ===== セクション見出し |
- | **段落**と段落を区切るためには、ソースでは** 空行(改行だけの行)**を入れます。 | + | 最大 5 つのレベルまでの見出しを使って、文章の構造化を行えます。 |
+ | 3 つ以上の見出しを記述すると、目次が自動的に生成されます(画面の右上)。 | ||
+ | |||
+ | ==== 第 3 見出し ==== | ||
+ | === 第 4 見出し === | ||
+ | == 第 5 見出し == | ||
+ | |||
+ | ==== 第 3 見出し ==== | ||
+ | === 第 4 見出し === | ||
+ | == 第 5 見出し == | ||
+ | |||
+ | |||
+ | |||
+ | ===== 段落 (普通の段落) ===== | ||
+ | |||
+ | **段落** | ||
複数の連続空行があっても、段落と段落の間が大きくならず、言い換えると「見栄えに影響しません」。 | 複数の連続空行があっても、段落と段落の間が大きくならず、言い換えると「見栄えに影響しません」。 | ||
行 22: | 行 39: | ||
を 2 つ連ねた後に空白文字(半角スペース)を置くか改行します。 | を 2 つ連ねた後に空白文字(半角スペース)を置くか改行します。 | ||
+ | この段落は改行\\ を含んでいます。2 連バックスラッシュが | ||
+ | 改行として処理されるのは、空白文字が続く\\ か行の最後\\ | ||
+ | にある場合だけで、\\それ以外はそのまま表示されます。 | ||
+ | この段落は改行\\ を含んでいます。2 連バックスラッシュが | ||
+ | 改行として処理されるのは、空白文字が続く\\ か行の最後\\ | ||
+ | にある場合だけで、\\それ以外はそのまま表示されます。 | ||
- | ===== Basic Text Formatting | 基本的なテキスト整形 ===== | ||
- | DokuWiki supports **bold**, //italic//, __underlined__ and '' | + | ===== リスト (箇条書き段落)===== |
+ | Also take a look at the [[doku> | ||
- | 文字飾りとして **太字**、 // | + | リスト(番号付き・番号無し)を利用できます。行頭にスペースを 2 つ連ねた後に、'' |
- | | + | * リストです |
- | | + | |
+ | | ||
+ | * 次の要素です | ||
- | You can use < | + | - 番号付きリストです |
+ | - 次の要素です | ||
+ | - 入れ子にするにはインデントを深くします | ||
+ | - 以上です | ||
- | さらに | + | <code> |
+ | * リストです | ||
+ | * 2番目の要素です | ||
+ | * 入れ子にもできます | ||
+ | * 次の要素です | ||
- | | + | |
+ | - 次の要素です | ||
+ | - 入れ子にするにはインデントを深くします | ||
+ | - 以上です | ||
+ | </code> | ||
- | You can mark something as < | ||
- | < | + | ===== 文字装飾 ===== |
- | | + | |
+ | - //斜体// , | ||
+ | - __下線__ , __underlined__ | ||
+ | - 等幅文字 , '' | ||
+ | - これらの **__//'' | ||
+ | - < | ||
+ | - < | ||
+ | - < | ||
- | **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. | + | < |
+ | - **太字** , **bold** | ||
+ | - //斜体// , | ||
+ | - __下線__ , __underlined__ | ||
+ | - 等幅文字 , '' | ||
+ | - これらの **__//'' | ||
+ | - < | ||
+ | - < | ||
+ | - < | ||
+ | </ | ||
- | 空行をおくと、**段落** となります。 | ||
- | 段落内で **強制的に改行** するには、バックスラッシュ(日本語環境では円記号¥) | ||
- | を 2 つ連ねた後に空白文字を置くか改行します。 | ||
+ | ===== 脚注 (Footnotes) ===== | ||
- | This is some text with some linebreaks\\ Note that the | + | 脚注 ((これが脚注です)) には、2連の丸カッコを用います。2連の丸カッコの前後に、半角スペースが必要です。 |
- | two backslashes are only recognized at the end of a line\\ | + | |
- | or followed by\\ a whitespace \\this happens without it. | + | |
- | この文は改行\\ を含んでいます。2 連バックスラッシュが | + | 脚注 ((これが脚注です)) には、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. | ||
- | |||
- | You should use forced newlines only if really needed. | ||
- | |||
- | 強制改行は、どうしても必要な場合だけ使ってください。 | ||
行 141: | 行 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 ===== | ||
行 203: | 行 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.1294376635.txt.gz · 最終更新: 2011/01/07 14:03 (外部編集)