将图像添加到 Markdown,而图像名称包含 % 符号

Add images to a markdown while the image name contains % symbol

提问人:Pixel_Bear 提问时间:11/15/2023 更新时间:11/15/2023 访问量:19

问:

我的图像文件的名称是“01jan%landiscloudy.png”

由于百分号,我无法将其添加到 GitHub 上的 Markdown 文件中(使用常规方法时。在命名图像时,我应该小心,但现在我有大量这样命名的图像,已经上传到了GitHub。<p><img src=""></p>

请让我知道我如何在 markdown 上添加这样的图像

GitHub 降价

评论


答:

0赞 Pixel_Bear 11/15/2023 #1
<div style="display: flex; justify-content: space-between;">
    <img src="01jan%25landiscloudy.png" alt="Land is Cloudy" width="45%">
    <img src="01jan%25clearisonland.png" alt="Another Image" width="45%">
</div>

在符号后面加上 25 有效。%