为什么后面的github repo中的图像没有在自述文件中显示为内嵌图像 [英] why doesn't the image in following github repo does not show up in readme as inline image

查看:223
本文介绍了为什么后面的github repo中的图像没有在自述文件中显示为内嵌图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在自述文件中提供一个图片,内容如下:

这里试图在页面本身的自述文件中显示图像



但是没有显示。



我使用以下格式

 ![某些替代文字] )

应该显示图像吗?

谢谢

解决方案

语法正确,但您应该将文件重命名为:

  README.md 

这会触发对 GitHub Flavored Markdown 的解读:



另见:




当您的 README 被称为 README 时, GitHub唯一将网址转换为链接

这与您在当前的 README中看到的一致档案。


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

解决方案

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:

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.

这篇关于为什么后面的github repo中的图像没有在自述文件中显示为内嵌图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆