---
title: Images
tags: [formatting]
keywords: images, screenshots, vectors, svg, markdown syntax
last_updated: March 20, 2016
summary: "You embed images using traditional HTML or Markdown syntax for images. Unlike pages, you can store images in subfolders (in this theme). This is because when pages reference the images, the references are always as subpaths, never requiring the reference to move up directories."
sidebar: mydoc_sidebar
permalink: /mydoc_images/
---
You embed an image the same way you embed other files or assets: you put the file into a folder, and then link to that file.
Put images inside the `images` folder in your root directory. You can create subdirectories inside this directory. Although you could use Markdown syntax for images, the HTML syntax is probably easier:
{% raw %}
```html
```
{% endraw %}
And the result:
Here's the same Markdown syntax:
{% raw %}
```

```
{% endraw %}
And the result:

{{site.data.alerts.tip}} I recommend storing this format into a shortcut editor such as aText. This way when you want to insert an image, just type something like jimg and the shortcut editor will automatically type the code.{{site.data.alerts.end}}
## Figure captions
If you want to add a figure caption, you can do so using standard `figure` HTML tags:
{% raw %}
```html
```
Here's the result:
SVG images will expand to the size of their container, so you have to specify it here. The previous syntax isn't well supported in IE, so you would be better off using the `object` element like this:
{% raw %}
```html