Documentation/content/markdown/using-images.md
crapStone da1b77aa6a Add woodpecker ci & many linters (and their required fixes) (#377)
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>
2024-06-11 07:51:22 +00:00

1.1 KiB

eleventyNavigation
key title parent order
UsingImages Using Images Markdown 60

It is possible to include images into the rendered form of a Markdown file.

Please refer to the article on 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.

![Alternative text](images/image.png "title")

Codeberg Logo

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.