> For the complete documentation index, see [llms.txt](https://support.audacityteam.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.audacityteam.org/~/changes/gvJiM3Yz1dG3uk35ImQU/community/contributing/tutorials/gitbook-markdown-syntax.md). Agents can also search and read this documentation through its [MCP server](https://support.audacityteam.org/~gitbook/mcp).

# Gitbook Markdown syntax

A page showing the Markdown for all the basic and fancy options there are. Also compares it to Github's Markdown. This block is the page description.

Contrast this page to:

* raw markdown: <https://raw.githubusercontent.com/audacity/audacity-support/main/community/contributing/tutorials/gitbook-markdown-syntax.md>&#x20;
* Github's markdown renderer: <https://github.com/audacity/audacity-support/blob/main/community/contributing/tutorials/gitbook-markdown-syntax.md>

## Heading 1&#x20;

(shows up in the outline)

### Heading 2&#x20;

(also shows up in the outline)

#### Heading 3&#x20;

(does not show up in the outline)

Headings can be used anywhere, including inside other blocks.

## Inline text formatting options

**Bold**,\
&#x20;*Italics*,\
`Code`, \
~~Strikethrough~~, \
[Link](https://example.org), \
[internal link](https://support.audacityteam.org/~/changes/gvJiM3Yz1dG3uk35ImQU/community/contributing/tutorials/style-guide.md), \
[anchor link](#undefined), \
page link: [Style Guide](https://support.audacityteam.org/~/changes/gvJiM3Yz1dG3uk35ImQU/community/contributing/tutorials/style-guide.md), \
page anchor link: [#inline-text-formatting-options](#inline-text-formatting-options "mention"), \ <mark style="color:red;">colored text</mark>, \ <mark style="background-color:green;">colored background</mark>, \ <mark style="color:yellow;background-color:blue;">both colored</mark>, \
LaTeX: $$f(x) = x \* e^{2 pi i \xi x}$$

These can be used anywhere.

## Lists

* Unordered
* List

1. Ordered
2. List

* [x] Task
* [ ] List

- List with
  1. sub-items
  2. can have
     * [x] changing list styles
- ...

Lists can be used anywhere, including inside other blocks. They can only include inline content and other (nested) lists.

## Infoboxes, quotes and code blocks&#x20;

Infoboxes:

{% hint style="info" %}
Hint
{% endhint %}

{% hint style="warning" %}
Caution
{% endhint %}

{% hint style="danger" %}
Danger
{% endhint %}

{% hint style="success" %}
Success
{% endhint %}

> A quote block

```
// a code block
```

```html
code blocks <b style="some_css: 23px;" class="and other things"> also supports syntax highlighting</b>
```

These blocks can be used inside of Tabs. The code block can also be used in Expandables, but cannot have other blocks inside it. The quote block and infobox can have headings, inline content and lists inside it.

## Images and files

Inline image: ![](https://2387260374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhmBVzGzh8SctWQ6jPR%2Fuploads%2FiPK7ryh7zjxtJssk6t8M%2FZoomIn.png?alt=media\&token=60ab0053-1916-485b-87e4-1eac564cae25)

Image block:

![supports captions](https://2387260374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhmBVzGzh8SctWQ6jPR%2Fuploads%2FRXDofvmThNNukikhGVo6%2FAudacity_jimeiBcMal.png?alt=media\&token=4c695a9a-0c57-4ab3-88e4-a60c1998a6de)

Attached file:

{% file src="/files/kSlPnDLd0yL0sTGZoGyi" %}
supports captions
{% endfile %}

## Embeds

{% embed url="<https://www.youtube.com/watch?v=HpA138b-J9s>" %}
YouTube embed
{% endembed %}

{% embed url="<https://audacityteam.org>" %}
Arbitrary website without player
{% endembed %}

{% embed url="<https://gist.github.com/LWinterberg/fbdfe97044af6fafc01f06862817babe>" %}
gist embed
{% endembed %}

{% embed url="<https://soundcloud.com/rick-astley-official/never-gonna-give-you-up-4>" %}
soundcloud embed
{% endembed %}

Embeds cannot be used inside of other blocks except the Tabs block, nor can other blocks be placed inside them.

## Tables

<table><thead><tr><th data-type="checkbox">checkbox column</th><th align="center">text column, center-aligned</th><th data-type="number">number column</th><th data-hidden>hidden text column</th></tr></thead><tbody><tr><td>true</td><td align="center">text</td><td>123</td><td>hidden</td></tr><tr><td>false</td><td align="center">text</td><td>456</td><td>hidden</td></tr><tr><td>true</td><td align="center">text</td><td>789</td><td>hidden</td></tr></tbody></table>

<table><thead><tr><th>select-option column<select multiple><option value="64ea6801db7c43c08cea2bc65f0fe7d1" label="option a" color="blue"></option><option value="36387035f9e34215a942470ccfa8d781" label="option b" color="blue"></option><option value="0084b6cd834d4088bbd2188363ddf09a" label="option c" color="blue"></option></select></th><th data-type="files">files column</th><th data-type="rating" data-max="3">Ratings column</th></tr></thead><tbody><tr><td><span data-option="64ea6801db7c43c08cea2bc65f0fe7d1">option a</span></td><td><a href="https://2387260374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhmBVzGzh8SctWQ6jPR%2Fuploads%2FiPK7ryh7zjxtJssk6t8M%2FZoomIn.png?alt=media&amp;token=60ab0053-1916-485b-87e4-1eac564cae25">ZoomIn.png</a></td><td>3</td></tr><tr><td><span data-option="36387035f9e34215a942470ccfa8d781">option b</span></td><td><a href="https://2387260374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhmBVzGzh8SctWQ6jPR%2Fuploads%2FRXDofvmThNNukikhGVo6%2FAudacity_jimeiBcMal.png?alt=media&amp;token=4c695a9a-0c57-4ab3-88e4-a60c1998a6de">transport toolbar.png</a></td><td>2</td></tr><tr><td><span data-option="0084b6cd834d4088bbd2188363ddf09a">option c, </span><span data-option="36387035f9e34215a942470ccfa8d781">option b, </span><span data-option="64ea6801db7c43c08cea2bc65f0fe7d1">option a</span></td><td><a href="https://2387260374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhmBVzGzh8SctWQ6jPR%2Fuploads%2FiPK7ryh7zjxtJssk6t8M%2FZoomIn.png?alt=media&amp;token=60ab0053-1916-485b-87e4-1eac564cae25">ZoomIn.png</a><a href="https://2387260374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhmBVzGzh8SctWQ6jPR%2Fuploads%2FRXDofvmThNNukikhGVo6%2FAudacity_jimeiBcMal.png?alt=media&amp;token=4c695a9a-0c57-4ab3-88e4-a60c1998a6de">transport toolbar.png</a><a href="https://2387260374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhmBVzGzh8SctWQ6jPR%2Fuploads%2F3LOxmTecCRms1YLclxxO%2FTrim.png?alt=media&amp;token=0607c4c4-3877-4802-840f-6c8bf5ef51ba">Trim.png</a></td><td>1</td></tr></tbody></table>

{% hint style="danger" %}
Select-option and files columns appear empty in Markdown. Avoid using them.
{% endhint %}

Tables cannot be used inside other blocks except the Tabs block, nor can other blocks be placed inside them. Inline content works inside of text columns only.

## Tabs

{% tabs %}
{% tab title="First Tab" %}
content of first tab
{% endtab %}

{% tab title="Second Tab" %}
content of second tab
{% endtab %}

{% tab title="Third tab" %}
content of third tab
{% endtab %}
{% endtabs %}

Tabs cannot be used inside other blocks. Tabs can have most other blocks inside them, except of other tabs, expandables, and API blocks.

## Expandable (Details block)

<details>

<summary>Expandable title</summary>

Expandable content

</details>

Expandables cannot be inside other blocks. Expandables can have headings, lists, code blocks, and inline content inside them.

## Drawings

<img src="https://2387260374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhmBVzGzh8SctWQ6jPR%2Fuploads%2FcS3lrEQsuy0CEn5hQUbj%2Ffile.drawing.svg?alt=media&amp;token=041798e7-5f25-4e3e-978b-201cf3517e98" alt="also supports captions" class="gitbook-drawing">

A Gitbook-specific drawing thing, generating SVGs. Likely useless when using Markdown.

## LaTeX

$$
f(x) = x \* e^{2 pi i \xi x}
$$

Cannot be placed inside of other blocks except the Tabs block. That said, an inline variant is available which can go pretty much anywhere.

## Web API methods

## API title

<mark style="color:blue;">`GET`</mark> `https://example.com/example`

shows itself up in the outline. Example of all available parameters follows:

#### Path Parameters

| Name | Type   | Description |
| ---- | ------ | ----------- |
| id   | String | Description |

#### Query Parameters

| Name                                 | Type   | Description |
| ------------------------------------ | ------ | ----------- |
| id<mark style="color:red;">\*</mark> | String | Description |

#### Headers

| Name | Type   | Description |
| ---- | ------ | ----------- |
| id   | String | Description |

#### Cookies

| Name | Type   | Description |
| ---- | ------ | ----------- |
| id   | String | Description |

#### Request Body

| Name | Type   | Description |
| ---- | ------ | ----------- |
| id   | String | Description |

{% tabs %}
{% tab title="200: OK Description" %}

```javascript
{
    // good Response
}
```

{% endtab %}

{% tab title="404: Not Found Description" %}

```javascript
{
    // not found Response
}
```

{% endtab %}

{% tab title="500: Internal Server Error Description" %}

```javascript
{
    // error Response
}
```

{% endtab %}
{% endtabs %}

Cannot be used inside other blocks. Can only contain plain text. Unfortunately very tailored towards web APIs only.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://support.audacityteam.org/~/changes/gvJiM3Yz1dG3uk35ImQU/community/contributing/tutorials/gitbook-markdown-syntax.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
