why doesn't the image in following github repo

2019-06-12 04:03发布

问题:

I tried to present an image in my readme markdown as following:

here trying to show images in readme on page itself

however its not showing up.

i'm using the following format

![some alt text](raw url to image)

supposed to show the image?

thanks

回答1:

The syntax is correct, but you should rename your file into:

README.md

That would trigger the interpretation of the GitHub Flavored Markdown:

See also:

  • "Github: README and README.md".
  • "GitHub default README markup":

When your README is just called README, the only thing GitHub does is turn URLs into links.

That seems consistent with what you see in your current README file.