Markdown GitHub:链接到图像不起作用

问题描述 投票:0回答:1

图像链接在新的 GitHub 更新中无法正常工作。用于显示图像的代码是:

<a href="https://pixelbuddha.net/icons/capitalist-food-and-drinks-icon-set"><img width='700' src='https://github.com/Anmol-Baranwal/Awesome-Illustrations-4Projects/assets/74038190/3bca40f9-63bd-4727-abc1-d0a577b4d863'  /></a>
image github hyperlink markdown
1个回答
0
投票

你可以看到在this gist中呈现的降价,我只是使用了以下代码:

<a href="https://pixelbuddha.net/icons/capitalist-food-and-drinks-icon-set" target="_blank">
  <img width="700" src="https://i.stack.imgur.com/jQZ8q.png" />
</a>

target="_blank"
属性在 HTML 的 GitHub 版本中似乎不起作用,但单击图像会按照您的要求打开链接,然后用鼠标滚轮单击它会在新选项卡中打开它。

© www.soinside.com 2019 - 2024. All rights reserved.