如何将附件上传到 GitHub wiki?

发布于 2025-01-08 13:51:57 字数 1459 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

玉环 2025-01-15 13:51:57

自 2022 年 2 月 14 日起 GitHub 允许将图像上传到通过将文件拖到 Web 编辑器中来创建 Wiki 页面

警告:文件将上传到其 githubusercontent 存储桶,而不是添加到 wiki 的 git 存储库。


原帖:

简单回答一下:你不能。您必须将图像上传到其他地方(例如在存储库或图像托管服务中)并链接它

但我同意@jstephenson

As of Feburary 14th, 2022 GitHub allows uploading images to Wiki pages by dragging files into the web editor.

Caveat: Files will be uploaded to their githubusercontent bucket, not added to the git repository for the wiki.


Original post:

Just to answer it shortly: You can't. You have to upload your images somewhere else (like in a repository or on an image hoster) and link it

But I agree with @jstephenson

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文