次に簡単な例を示します。It's easy to make *emphasized*, |monospaced|, ~deleted~, super^scripted^ or _underlined_ text.
これを <s:formattedText/> を使って表示すると、 以下の HTML が生成されます。
<p>
It's easy to make <i>emphasized</i>, <tt>monospaced</tt>,
<del>deleted</del>, super<sup>scripted</sup> or
<u>underlined</u> text.
</p>
<p>
It's easy to make <i>emphasized</i>, <tt>monospaced</tt>,
<del>deleted</del>, super<sup>scripted</sup> or
<u>underlined</u> text.
</p>
Copy to ClipboardCopied!Toggle word wrapToggle overflow
空行は新しいパラグラフを作成するときに使用します。 また、+ は見出しに使用します。
+This is a big heading
You /must/ have some text following a heading!
++This is a smaller heading
This is the first paragraph. We can split it across multiple
lines, but we must end it with a blank line.
This is the second paragraph.
+This is a big heading
You /must/ have some text following a heading!
++This is a smaller heading
This is the first paragraph. We can split it across multiple
lines, but we must end it with a blank line.
This is the second paragraph.
Copy to ClipboardCopied!Toggle word wrapToggle overflow
単なる新しい行だけなら無視されます。新しい段落にするためにテキストを配置するには空行が必要です。 これが結果となる HTML です。
<h1>This is a big heading</h1>
<p>
You <i>must</i> have some text following a heading!
</p>
<h2>This is a smaller heading</h2>
<p>
This is the first paragraph. We can split it across multiple
lines, but we must end it with a blank line.
</p>
<p>
This is the second paragraph.
</p>
<h1>This is a big heading</h1>
<p>
You <i>must</i> have some text following a heading!
</p>
<h2>This is a smaller heading</h2>
<p>
This is the first paragraph. We can split it across multiple
lines, but we must end it with a blank line.
</p>
<p>
This is the second paragraph.
</p>
Copy to ClipboardCopied!Toggle word wrapToggle overflow