How to Add the images to README.md file in GitLab
In this tutorial, we are going to learn about two different ways to add images to the GitLab README.md file.
Adding images to Readme.md file
-
Open your GitLab repository and navigate to the images folder or the folder where your images are placed.
-
Click on the image which you need to add to your README.md file.
-
Now, right-click on the image and select
copy image address
option. -
At final, open your README.md file and use below markdown syntax to add an image.
![name-of-you-image](https://your-copied-image-address)
In the above syntax, you need to add your copied image address inside parenthesis
()
.
Or in your vscode, you can open the readme.md file and add it using the following markdown syntax.
Here is an example:
![Audi car](./images/car.png)