MARKDOWN クイックリファレンス
見出し、リンク、画像、コードブロック、表
見出し
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
強調
太字と斜体
| *italic* or _italic_ | 斜体テキスト |
| **bold** or __bold__ | 太字テキスト |
| ***bold italic*** | 太字斜体 |
| ~~strikethrough~~ | 取り消し線(GFM) |
リスト
順序なしリスト
- Item one
- Item two
- Nested item
- Another nested
- Item three
順序付きリスト
1. First item
2. Second item
1. Nested ordered
2. Another nested
3. Third item
リンクと画像
| [text](url) | インラインリンク |
| [text](url "title") | ホバータイトル付きリンク |
| [ref][id] / [id]: url | 参照スタイルリンク |
| <https://example.com> | 自動リンク |
|  | 画像 |
|  | タイトル付き画像 |
| [](url) | リンク付き画像 |
コード
インラインとフェンスドブロック
Use `inline code` in a sentence.
```python
def greet(name):
return f"Hello, {name}!"
```
```javascript
const greet = (name) => `Hello, ${name}!`;
```
シンタックスハイライトのために ``` の後に言語を指定する
インデントコードブロック
Indent 4 spaces
for a code block
(no syntax highlighting)
引用
> This is a blockquote.
>
> It can span multiple paragraphs.
> Nested blockquotes:
>> Second level
>>> Third level
表(GFM)
| Left | Center | Right |
|--------|:-------:|-------:|
| cell 1 | cell 2 | cell 3 |
| cell 4 | cell 5 | cell 6 |
「:」は整列を制御 — 左(デフォルト)、中央、右
タスクリスト(GFM)
- [x] Completed task
- [ ] Incomplete task
- [ ] Another to-do
水平線
---
***
___
3つ以上のハイフン、アスタリスク、またはアンダースコア
エスケープ
バックスラッシュエスケープ
\*not italic\*
\# not a heading
\[not a link\]
エスケープできる文字
| \ ` * _ | バックスラッシュ、バッククォート、アスタリスク、アンダースコア |
| {} [] () | 波括弧、角括弧、丸括弧 |
| # + - . | ハッシュ、プラス、ハイフン、ピリオド |
| ! | | 感嘆符、パイプ |