wiki:syntax
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
wiki:syntax [2011/01/07 13:57] – sahara.satoshi | wiki:syntax [2011/01/07 14:48] – [Formatting Syntax] sahara.satoshi | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== Formatting Syntax | + | ====== Formatting Syntax ====== |
- | [[doku> | + | [size=120%]整形記法[/size] … ソースがどのようにHTMLでマークアップされるのか |
文章の整形を行うには、シンプルなマークアップ記法を用います。 | 文章の整形を行うには、シンプルなマークアップ記法を用います。 | ||
行 10: | 行 10: | ||
主な記法は、[[doku> | 主な記法は、[[doku> | ||
+ | * [[doku> | ||
+ | * [[http:// | ||
- | ===== 段落 | + | ===== セクション見出し |
- | **段落**と段落の区切るためには、編集ボックス内では 空行(改行だけの行)を入れます。複数の連続空行があっても、段落と段落の間が大きくならず、言い換えると「見栄えに影響しません」。これを逆手にとって、ソースがわかりやすくなるように、適宜、空行をいれてください。 | + | 最大 5 つのレベルまでの見出しを使って、文章の構造化を行えます。 |
+ | 3 つ以上の見出しを記述すると、目次が自動的に生成されます(画面の右上)。 | ||
+ | ==== 第 3 見出し ==== | ||
+ | === 第 4 見出し === | ||
+ | == 第 5 見出し == | ||
+ | ==== 第 3 見出し ==== | ||
+ | === 第 4 見出し === | ||
+ | == 第 5 見出し == | ||
- | ===== Basic Text Formatting | 基本的なテキスト整形 ===== | ||
- | DokuWiki supports **bold**, //italic//, __underlined__ and '' | + | ===== 段落 (普通の段落) ===== |
- | 文字飾りとして | + | **段落** (Paragraphs) |
+ | 複数の連続空行があっても、段落と段落の間が大きくならず、言い換えると「見栄えに影響しません」。 | ||
- | DokuWiki supports **bold**, //italic//, __underlined__ and '' | + | 見かけ上は1段落であっても、ソースは複数行で記述されていることがあります。 |
- | Of course you can **__//'' | + | これを逆手にとって、ソースがわかりやすくなるように、適宜、空行をいれるほうが良いでしょう。 |
- | You can use < | + | 段落内で**強制的に改行したい**場合には、バックスラッシュ(日本語環境では円記号¥) |
+ | を 2 つ連ねた後に空白文字(半角スペース)を置くか改行します。 | ||
- | さらに < | + | この段落は改行\\ を含んでいます。2 連バックスラッシュが |
+ | 改行として処理されるのは、空白文字が続く\\ か行の最後\\ | ||
+ | にある場合だけで、\\それ以外はそのまま表示されます。 | ||
- | | + | |
+ | 改行として処理されるのは、空白文字が続く\\ か行の最後\\ | ||
+ | にある場合だけで、\\それ以外はそのまま表示されます。 | ||
- | You can mark something as < | ||
- | < | ||
- | You can mark something as <del>deleted</ | + | ===== リスト (箇条書き段落)===== |
+ | Also take a look at the [[doku>faq: | ||
- | **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. | + | リスト(番号付き・番号無し)を利用できます。行頭にスペースを 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. | + | * 2番目の要素です |
+ | * 入れ子にもできます | ||
+ | * 次の要素です | ||
- | この文は改行\\ を含んでいます。2 連バックスラッシュが | + | - 番号付きリストです |
- | 改行として処理されるのは、空白文字が続く\\ か行の最後\\ | + | - 次の要素です |
- | にある場合だけで、\\それ以外はそのまま表示されます。 | + | - 入れ子にするにはインデントを深くします |
+ | - 以上です | ||
+ | </ | ||
- | This is some text with some linebreaks\\ Note that the | + | ===== 文字装飾 ===== |
- | | + | |
- | | + | |
+ | - //斜体// , | ||
+ | - __下線__ , __underlined__ | ||
+ | - 等幅文字 , '' | ||
+ | - これらの **__//'' | ||
+ | - < | ||
+ | - < | ||
+ | - < | ||
+ | |||
+ | < | ||
+ | - **太字** , **bold** | ||
+ | - //斜体// , | ||
+ | - __下線__ , __underlined__ | ||
+ | - 等幅文字 , '' | ||
+ | - これらの **__//'' | ||
+ | - < | ||
+ | - < | ||
+ | - < | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== 脚注 (Footnotes) ===== | ||
+ | |||
+ | 脚注 ((これが脚注です)) には、2連の丸カッコを用います。2連の丸カッコの前後に、半角スペースが必要です。 | ||
+ | |||
+ | | ||
- | You should use forced newlines only if really needed. | ||
- | 強制改行は、どうしても必要な場合だけ使ってください。 | ||
行 134: | 行 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 ===== | ||
行 196: | 行 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.txt · 最終更新: 2011/12/13 19:56 by 127.0.0.1