Images in github pages and relative links

后端 未结 2 1391
春和景丽
春和景丽 2020-12-05 22:38

I created a user\'s github page.

Now, suppose I have an Image file at the root of the repo located as Images/Emoticons/Cool.png

I try to inser

2条回答
  •  失恋的感觉
    2020-12-05 23:12

    As the site is being served by Linux servers, the path is case sensitive.

    In order to make this work, replace emoticons with Emoticons in the provided url.

    Screenshot of the repository

    Also, in a URL, replace the backslash (\) by a forward slash (/).

    The following HTML code should properly display the image

    hi
    

提交回复
热议问题