mirror of
https://codeberg.org/Codeberg/Documentation.git
synced 2026-06-16 05:13:54 -07:00
closes #238 Co-authored-by: pat-s <patrick.schratz@gmail.com> Co-authored-by: Patrick Schratz <pat-s@noreply.codeberg.org> Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/377 Co-authored-by: crapStone <crapstone01@gmail.com> Co-committed-by: crapStone <crapstone01@gmail.com>
30 lines
1.1 KiB
Markdown
30 lines
1.1 KiB
Markdown
---
|
|
eleventyNavigation:
|
|
key: UsingImages
|
|
title: Using Images
|
|
parent: Markdown
|
|
order: 60
|
|
---
|
|
|
|
It is possible to include images into the rendered form of a Markdown file.
|
|
|
|
Please refer to the [article on Screenshots](/improving-documentation/screenshots/) to learn how to use and include images in the Codeberg documentation.
|
|
|
|
The syntax of including images is similar to the syntax of links.
|
|
|
|
```shell
|
|

|
|
```
|
|
|
|

|
|
|
|
The image link consists of three parts:
|
|
|
|
- The alternative text - is added to the `alt` attribute of the rendered image
|
|
- the link - a URI or URL to an image file, which is then included in the rendered article
|
|
- the title - is added to the `title` attribute of the rendered image (most browsers show it on hover)
|
|
|
|
## Location of image files
|
|
|
|
Image files can be placed within the folder structure of your article or documentation.
|
|
Apart from that, images can be referenced by a URL and are thus included from the internet location the URL points to.
|