# Formatting your content

To format your text, simply select the words you want and choose one of the formats from the context menu — or format your text using a keyboard shortcut or through Markdown syntax.

{% hint style="info" %}
We’ve written these shortcuts using Mac keys. Use **Control** in place of **⌘ (Command)** on Windows or Linux operating systems. Check out our [keyboard shortcuts](https://gitbook.com/docs/resources/keyboard-shortcuts) section to see all the shortcuts for all operating systems.
{% endhint %}

### Bold

Keyboard shortcut: <kbd>⌘</kbd> + <kbd>B</kbd>

{% tabs %}
{% tab title="Markdown" %}

```markdown
**Bold**
```

{% endtab %}
{% endtabs %}

### Italic

Keyboard shortcut : <kbd>⌘</kbd> + <kbd>I</kbd>

{% tabs %}
{% tab title="Markdown" %}

```markdown
_Italic_
```

{% endtab %}
{% endtabs %}

### Strikethrough

Keyboard shortcut: <kbd>⇧</kbd> + <kbd>⌘</kbd> + <kbd>S</kbd>

{% tabs %}
{% tab title="Markdown" %}

```markdown
~~Strikethrough~~
```

{% endtab %}
{% endtabs %}

### Code

Keyboard shortcut: <kbd>⌘</kbd> + <kbd>E</kbd>

{% tabs %}
{% tab title="Markdown" %}

```markdown
`Code`
```

{% endtab %}
{% endtabs %}

### Link

Keyboard shortcut: <kbd>⌘</kbd> + <kbd>K</kbd>

When you add a link to text on your page, you’ll be prompted to provide the link. You can add any URL, but if you’re linking to another page or section in your space, we recommend [using a relative link](https://gitbook.com/docs/creating-content/inline#relative-links).

This is [a link to an external page](https://www.gitbook.com).

This is a [link to another page in this space](https://gitbook.com/docs/creating-content/blocks).

This is a [link to a section on this page](#code).

This is [a link that starts an email to a specific address](mailto:support@gitbook.com).

### Color and background color

Click the color icon in the context menu, and choose a color for the text or its background.

<mark style="color:orange;">This text is orange.</mark>

<mark style="background-color:orange;">This text background is orange.</mark>


---

# 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://gitbook.com/docs/creating-content/formatting.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.
