当github.com在readme.md文件中渲染一张图片时,它会自动在一个a
标签中链接该图片。
使用以下任一方式:
![][http://example.com/path/image]
或者<img src="http://example.com/path/image" />
实际呈现的内容将显示为<a href="https://camo.githubusercontent.com/8a545f12e16ff12fd...." target="_blank"><img src="https://camo.githubusercontent.com/8a545f12e16ff12f..." alt="" data-canonical-src="http://example.com/path/image" style="max-width:100%;"></a>
我理解github图像缓存(在camo.githubusercontent.com上),这很好,但是我不想让a标签包裹我的图片.
我不确定这是否是github自动URL链接的一部分,还是特定于图像的某些东西。
我可以提供自己的链接(使用自己的a标签),但我真正想要的是没有链接,没有a标签。
这有可能吗?
谢谢!