Html 图像未显示在jerkyll博客文章中

Html 图像未显示在jerkyll博客文章中,html,github,markdown,Html,Github,Markdown,我试图在我的github博客帖子中显示一幅图像,这是我使用jekyll创建的: <img src = "./images/scatterplot.png" width="400" height="300" /> 图像将显示在标记文件中,但无法在实际日志中输出。 任何建议都会非常有用,提前谢谢 如其中一个回复中所述,我尝试打开图像链接:https://surajsubramanian.github.io/posts/simple-linear-regression-from-scra

我试图在我的github博客帖子中显示一幅图像,这是我使用jekyll创建的:

<img src = "./images/scatterplot.png" width="400" height="300" />
图像将显示在标记文件中,但无法在实际日志中输出。 任何建议都会非常有用,提前谢谢

如其中一个回复中所述,我尝试打开图像链接:https://surajsubramanian.github.io/posts/simple-linear-regression-from-scratch/images/scatterplot.png 这很奇怪,为什么它会在路径中使用我的帖子的名称


这条路应该是https://surajsubramanian.github.io/posts/images/scatterplot.png这里是img的正确链接:

要在web浏览器上了解图片的URL,请右键单击图片->在“新建”选项卡中打开图片,您将获得正确的URL

img将是这样的:

<img src="https://raw.githubusercontent.com/SurajSubramanian/SurajSubramanian.github.io/master/_posts/images/scatterplot.png" width="400" height="300" />

谢谢,我试图打开图像链接:https://surajsubramanian.github.io/posts/simple-linear-regression-from-scratch/images/scatterplot.png 这很奇怪,为什么它会在路径中使用我的帖子的名称。这条路应该是https://surajsubramanian.github.io/posts/images/scatterplot.pngtry 放置完整路径:谢谢,这是完整的路径,但是图像仍然没有显示在路径中。这是否与在标记文件的中间指定IMG标签有关?这里是IMG的正确链接:右键点击图片->在新标签中打开图片,然后得到正确的URL。IMG将是这样的:我已经编辑了第一个答案PS:对不起我的英语: