mirror of
https://codeberg.org/Codeberg/Documentation.git
synced 2026-06-16 05:13:54 -07:00
# Changelog The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## Changed - Update line length limit from 500 characters to 120 characters. ## Fixed - Most instances of these lint issues: 1. Lines longer than 120 characters ([MD013](https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md013.md)). 2. Trailing whitespaces ([MD009](https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md)). 3. Ordered list item prefix ([MD029](https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md029.md)). 4. Bare links ([MD034](https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md034.md)). Co-authored-by: Patrick Schratz <pat-s@noreply.codeberg.org> Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/623 Reviewed-by: Patrick Schratz <pat-s@noreply.codeberg.org> Co-authored-by: Javier Pérez <walpo@noreply.codeberg.org> Co-committed-by: Javier Pérez <walpo@noreply.codeberg.org>
31 lines
1.1 KiB
Markdown
31 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.
|