To insert imges in a markdown file, we should build a new directory save images that should be inserted to your blog articales (e.g. /assets/images/). An absolute path is required. Note if a relative path is being used, the image can not be found and displayed in your webpage.
At first time, we can insert a line in _config.yml
baseurl: 'your project name'
When inserting a image, we can use the variable baseurl defined below in an absolute path:
![img1](/jekyll-clean-dark/assets/images/img1.png)
or
![img1](/jekyll-clean-dark/assets/images/img1.gif)
Last update: 07/26/2020