# Marking up images

After working through this section, you should be able to:

* Mark up / insert an image.

The pattern for marking up images is as follows:

* In the text where the link appears, the opening `{{IMG`
* A space, followed by `media/` and the filename of the image
* The closing `}}`.

{% hint style="warning" %}
The filename cannot contain spaces.
{% endhint %}

{% hint style="info" %}
The image needs to be listed under Attachments on the document.
{% endhint %}

### Example

```
PARA 9. 
  Content of paragraph.
  
  {{IMG media/img4.png}}
  

```

## Shortcut

* In Edit mode, with your cursor placed where the image should appear, click **Insert | Insert image …**
* Choose the image from the existing attachments (or add it to this list if it's not there) and click **Insert image**
* The markup described above will be inserted for you automatically.

![](https://672843079-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoitfV0OP-HrMLMazq_%2Fuploads%2FtGCiPoBn3i4wuSSZq3ec%2FScreenshot%20from%202021-11-02%2011-00-56.png?alt=media\&token=fe5677b8-9dfb-4d21-8d03-a1067921af8a)

![](https://672843079-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoitfV0OP-HrMLMazq_%2Fuploads%2FFU2axcEhAWOZ2kNvLjs5%2FScreenshot%20from%202021-11-02%2011-03-58.png?alt=media\&token=e06638a9-deef-42be-b79f-eb76fb162326)

![The image markup has been inserted at line 13](https://672843079-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoitfV0OP-HrMLMazq_%2Fuploads%2FM49VKZKUu68hLVjrDmGY%2Fimage.png?alt=media\&token=6d98f1da-132e-421a-ad1e-93c1bc06974d)
