mirror of https://github.com/docker/docs.git
37 lines
1.4 KiB
Markdown
37 lines
1.4 KiB
Markdown
---
|
|
description: components and formatting examples used in Docker's docs
|
|
title: Images
|
|
toc_max: 3
|
|
---
|
|
|
|
## Example
|
|
|
|
- A small image: 
|
|
|
|
- A small image that is a link. The extra newline here makes it not show inline:
|
|
|
|
[](https://www.docker.com/)
|
|
|
|
- Make the image open in a new tab: [](/assets/images/footer_moby_icon.png){: target="_blank" rel="noopener" class="_"}
|
|
|
|
- Set the width of an image: {:width="750px"}
|
|
|
|
- A big wide image: 
|
|
|
|
- The same as above but using HTML: <img src="/assets/images/banner_image_24512.png" alt="a wide image using HTML"/>
|
|
|
|
## HTML and Markdown
|
|
|
|
```html
|
|
- A small image: 
|
|
|
|
- A small image that is a link. The extra newline here makes it not show inline:
|
|
|
|
[](https://www.docker.com/)
|
|
|
|
- Set the width of an image: {:width="750px"}
|
|
|
|
- A big wide image: 
|
|
|
|
- The same as above but using HTML: <img src="/assets/images/banner_image_24512.png" alt="a wide image using HTML"/>
|
|
``` |