# Markdown で書く

Markdown は近年、特に開発者の間で広く使われています。HTML コードを使わずに簡単にノートを整形できるためです。Markdown の構文に慣れている方は、すぐに使いこなせるでしょう。

#### 見出し <a href="#f3b2" id="f3b2"></a>

見出しを作成するには、単語やフレーズの前に **`#`**（シャープ）を付け、スペースを入れます。シャープの数が見出しのレベルを示します。

| Markdown      | 出力例              |
| ------------- | ---------------- |
| `# 見出しレベル1`   | <h3>見出しレベル1</h3> |
| `## 見出しレベル2`  | <h4>見出しレベル2</h4> |
| `### 見出しレベル3` | **見出しレベル3**      |

#### 太字 <a href="#id-9235" id="id-9235"></a>

テキストを太字にするには、単語やフレーズの前後に **`**`** または **`__`** を付けます。

| Markdown | 出力例    |
| -------- | ------ |
| `**太字**` | **太字** |
| `__太字__` | **太字** |

#### 斜体

テキストを斜体にするには、単語やフレーズの前後に **`*`** または **`_`** を付けます。

| Markdown | 出力例  |
| -------- | ---- |
| `*斜体*`   | *斜体* |
| `_斜体_`   | *斜体* |

#### 太字＋斜体 <a href="#cd61" id="cd61"></a>

太字と斜体を同時に適用するには、単語やフレーズの前後に **3つのアスタリスクまたはアンダースコア** を付けます。

| Markdown      | 出力例         |
| ------------- | ----------- |
| `***太字＋斜体***` | ***太字＋斜体*** |
| `___太字＋斜体___` | ***太字＋斜体*** |

#### 引用 <a href="#cd61" id="cd61"></a>

引用を作成するには、段落の前に **`>`** を付け、スペースを入れます。

| Markdown     | 出力例                                                                                                                                                                                                                 |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `> これは引用です。` | ![](https://3053791484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFt4LISrSRa6fHrbSIdcE%2Fuploads%2FClQL67JuFFZ4TU2B7J7c%2Fimage.png?alt=media\&token=de0ef094-55f1-4006-8389-546b738b11a6) |

#### リスト <a href="#id-39a2" id="id-39a2"></a>

番号付きリストを作成するには、行の先頭に番号とピリオドを付けます。

| Markdown                                                                       | 出力例                                                 |
| ------------------------------------------------------------------------------ | --------------------------------------------------- |
| <p><code>1. アイテム1</code><br><code>2. アイテム2</code><br><code>3. アイテム3</code></p> | <ol><li>アイテム1</li><li>アイテム2</li><li>アイテム3</li></ol> |

番号なしリストを作成するには、行の先頭に **`-`**, **`*`**, **`+`** を付けます。インデントして入れ子リストも作成できます。

| Markdown                                                                    | 出力例                                                 |
| --------------------------------------------------------------------------- | --------------------------------------------------- |
| <p><code>- アイテム1</code><br><code>- アイテム2</code><br><code>- アイテム3</code></p> | <ul><li>アイテム1</li><li>アイテム2</li><li>アイテム3</li></ul> |

#### コード <a href="#id-6bb4" id="id-6bb4"></a>

コードブロックを作成するには、3つのバッククォート **` ``` `** を使用します。

単語やフレーズをコードとして示すには、バッククォート **`` ` ``** で囲みます。

| Markdown      | 出力例                                                                                                                                                                                                                 |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| \`インラインコード\`  | `インラインコード`                                                                                                                                                                                                          |
| \`\`\`コードブロック | ![](https://3053791484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFt4LISrSRa6fHrbSIdcE%2Fuploads%2FPDLRwQ2KZgYghbZCRwfF%2Fimage.png?alt=media\&token=09344c1b-e7ce-4b7a-bfc5-4de732650d08) |

#### 区切り線 <a href="#f82d" id="f82d"></a>

区切り線を作成するには、1行に **`***`**, **`---`**, **`___`** のいずれかを入力して **`Enter`** を押します。

| Markdown | 出力例                                                                                                                                                                                                                 |
| -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ---      | ![](https://3053791484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFt4LISrSRa6fHrbSIdcE%2Fuploads%2FdGQVrjhaFGAJVXnxBpI4%2Fimage.png?alt=media\&token=2ceb4966-d1e1-4f03-b24d-f48d62bace6f) |

#### チェックボックス <a href="#id-25af" id="id-25af"></a>

ToDo リストを追加するには、**`[]`** の後にスペースを入れます。\
完了済みの項目を追加するには、**`[x]`** の後にスペースを入れます。

| Markdown    | 出力例                                                                              |
| ----------- | -------------------------------------------------------------------------------- |
| `[] ToDo項目` | <ul><li>ToDo項目</li></ul>                                                         |
| `[x] 完了項目`  | <ul class="contains-task-list"><li><input type="checkbox" checked>完了項目</li></ul> |

#### Markdown としてコピー <a href="#id-3b9e" id="id-3b9e"></a>

UpNote のコンテンツを Markdown としてコピーするには、右クリックして **`Markdown としてコピー`** を選択します。

ショートカットキーは、**Mac:** `Cmd + Option + C` ／ **Windows:** `Ctrl + Alt + C` です。

#### Markdown から貼り付け <a href="#id-3b9e" id="id-3b9e"></a>

Markdown 形式のコンテンツを貼り付けたい場合は、エディタ上で右クリックし **`Markdown から貼り付け`** を選択します。自動的に正しい形式に変換されます。

ショートカットキーは、**Mac:** `Cmd + Option + V` ／ **Windows:** `Ctrl + Alt + V` です。

**iOS:** エディタを長押しし、ポップアップから **`Markdown から貼り付け`** を選択します。\
![](https://3053791484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFt4LISrSRa6fHrbSIdcE%2Fuploads%2Fo0a89lSEj691NfylmKg3%2Fimage.png?alt=media\&token=049d10af-de95-4d24-8294-c29355be4ab1)

**Android:** フォーマットバーの **`+`** アイコンをタップし、**`Markdown から貼り付け`** を選択します。\
![](https://3053791484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFt4LISrSRa6fHrbSIdcE%2Fuploads%2FjcFKsBOkSkcEH8TIBqBd%2Fimage.png?alt=media\&token=08b22b96-2585-46da-93be-5c663c378c45)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.getupnote.com/ja/write-and-edit/format-your-text/write-with-markdown.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
