# Formatting your content

To format your text, simply select it and choose one of the formats from the context menu — or use a keyboard shortcut or Markdown syntax. We’ve listed those out below:

<figure><img src="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FO0OTcHPqyN1acD5HPRfp%2Fformatting.png?alt=media&#x26;token=8746a64e-6ad8-41f6-8daf-bb216ead16d1" alt=""><figcaption><p>bold, italics context menu with text highlighted</p></figcaption></figure>

{% 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 page](https://gitbook.com/docs/~/changes/pfQHJq75QY5xMYvctdXP/help-and-faq/keyboard-shortcuts) to see all the shortcuts for all operating systems.
{% endhint %}

### Bold

Keyboard shortcut: **⌘ + B**

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

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

{% endtab %}
{% endtabs %}

### Italic

Keyboard shortcut : **⌘ + I**

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

```markdown
_Italic_
```

{% endtab %}
{% endtabs %}

### Strikethrough

Keyboard shortcut: **⇧ + ⌘ + S**

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

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

{% endtab %}
{% endtabs %}

### Code

Keyboard shortcut: **⌘ + E**

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

```markdown
`Code`
```

{% endtab %}
{% endtabs %}

### Link

Keyboard shortcut: **⌘ + K**

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/~/changes/pfQHJq75QY5xMYvctdXP/content-editor/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/~/changes/pfQHJq75QY5xMYvctdXP/content-editor/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).
