【发布时间】:2021-06-28 16:48:30
【问题描述】:
我正在尝试使用以下命令在我的自述文件中包含图像:
<img src="./images/test.jpg" width="200">
But the contents of the image do not show up on the repo main page
The image does show up if I click on the README file, however
如果我使用 markdown 命令,我的图片会显示在主页上:
![][./images/test.jpg]
但是图像看起来非常大。我发现减小图像大小的唯一成功方法是使用上面的 html 命令。
是否有任何解决方案可以使图像显示在主页上或使用 markdown-style 命令减小图像的大小?
示例来自 Bitbucket,但我也在 GitHub 中对此进行了测试。同样的事情也会发生。
【问题讨论】:
标签: html github bitbucket markdown readme