> For the complete documentation index, see [llms.txt](https://docs.portaldots.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.portaldots.com/4.x/advanced/markdown-guide.md).

# Markdownガイド

## Markdownについて

PortalDotsでは、お知らせの本文などをMarkdown記法で書くことができます。PortalDotsでMarkdown記法を使える入力欄には、下記のように「Markdown」と表示されています。

![Markdown記法でテキストを入力できる入力欄の例](/files/bKikpTNhY7frkV7ZFF9D)

## 見出し

行の先頭に `#` 記号と半角スペースを入れると、その行は見出しとなります。 `#` の数が多いほど小さな見出しになります。

```
# これは大きい見出し(h1)です
## これは見出し(h2)です
### これは見出し(h3)です
#### これは見出し(h4)です
##### これは見出し(h5)です
###### これは見出し(h6)です
```

上記のように書くと、下記のように表示されます。

![見出しの表示例](/files/vsKfoBz2bIivFDJTtUmf)

## 箇条書き

行の先頭に `*` 記号と半角スペースを入れると、その行は箇条書きとなります。 \* の前に半角スペースを2つ以上入れると段下げできます。

```
* 箇条書き1
* 箇条書き2
    * 箇条書き2-1 — * の前に半角スペースを2つ以上入れると段下げできます
    * 箇条書き2-2
* 箇条書き3
```

上記のように書くと、下記のように表示されます。

![箇条書きの表示例](/files/qRQAr6jUnVl0HDYbPIQz)

## 番号付きリスト

行の先頭に `1.` と半角スペースを入れると、その行は箇条書きとなります。 `1.` の前に半角スペースを2つ以上入れると段下げできます。

```
1. 最初の項目
1. 次の項目
    1. 子項目a — 1. の前に半角スペースを2つ以上入れると段下げできます
    1. 子項目b
1. 最後の項目
```

上記のように書くと、下記のように表示されます。

![番号付きリストの表示例](/files/9Fr3PTg9bRL36qlR8X8B)

## 太字

太字にしたい部分を `**` 記号で囲みます。

```
**ここ**が太字になります
```

**ここ**が太字になります

## 取り消し線

取り消し線を引きたい部分を `~~` 記号で囲みます。

```
~~ここ~~に取り消し線を引きます
```

~~ここ~~に取り消し線を引きます

## リンク

下記のように、 `[リンクとして表示する文字](URL)` という形でリンクを作成できます。

```
[ここをクリック](https://www.portaldots.com)するとPortalDotsのウェブサイトにアクセスします
```

[ここをクリック](https://www.portaldots.com)するとPortalDotsのウェブサイトにアクセスします

## 引用

行の先頭に `>` と半角スペースを入れると、その行は引用の表示となります

```
> 一人ひとりの「想い」をつなぎ、学園祭を最高に楽しくする
```

> 一人ひとりの「想い」をつなぎ、学園祭を最高に楽しくする

## 表(テーブル)

```
| 列1 | 列2 | 列3 |
| --- | --- | --- |
| John | Doe | Male |
| Mary | Smith | Female |
```

![表(テーブル)の表示例](/files/EaXO5VxbiB8HYXu7WEoi)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.portaldots.com/4.x/advanced/markdown-guide.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
