gpt4 book ai didi

node.js - 图片不会出现在 NPM 上,但会出现在 Github 上

转载 作者:搜寻专家 更新时间:2023-10-31 23:41:29 27 4
gpt4 key购买 nike

为 NPM 模块处理这个 repo

图像显示在 Github 上(向下滚动)

https://github.com/ORESoftware/suman

enter image description here

但是在 NPM 上,尽管使用 HTTP 200 从 Github 检索图像,它并没有显示

https://www.npmjs.com/package/suman

这都是Markdown,图片的markdown是:

![alt text](https://github.com/ORESoftware/suman/blob/master/images/suman.png "Suman Primary Logo")

有人知道为什么这个 markdown 图像标签在 NPM 上不起作用吗?

enter image description here

最佳答案

使用这个 url ( https://raw.githubusercontent.com/ORESoftware/suman/master/images/suman.png )

您的 url 链接到页面而不是图像

关于node.js - 图片不会出现在 NPM 上,但会出现在 Github 上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36537836/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com