表 (Table)
パイプ(|)とハイフン(-)で表を作ります。GFM の拡張文法です。
Markdown
| Name | Role | | ---- | ---- | | Ada | Author | | Linus | Editor |
プレビュー
| Name | Role |
|---|---|
| Ada | Author |
| Linus | Editor |
HTML 出力
<table> <thead> <tr><th>Name</th><th>Role</th></tr> </thead> <tbody> <tr><td>Ada</td><td>Author</td></tr> <tr><td>Linus</td><td>Editor</td></tr> </tbody> </table>
ヒント — 区切り行に : を入れると列の配置を指定できます。