Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] 可以用R2存储桶实现网站直链下载(? #254

Open
OriyukiAkari opened this issue Sep 16, 2024 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@OriyukiAkari
Copy link

您的功能请求是否与问题相关?请描述

目前的状态是可以直接上传文件,但是会按照图片的形式发出,点进去右上角才有下载按钮。

描述您想要的解决方案
希望可以直接在文章页添加下载按钮,点击即可下载。

@OXeu OXeu added the enhancement New feature or request label Sep 17, 2024
@xiaoheiCat
Copy link

xiaoheiCat commented Dec 29, 2024

其实很简单,去掉生成的 Markdown 前面的 ! 就行了

For example:
原来:

![file.zip](https://your-bucket.cloudflare/images/md5.zip)

改为:

[file.zip](https://your-bucket.cloudflare/images/md5.zip)

它会生成一个超链接,点击即可下载,比如:
file.zip

@OriyukiAkari
Copy link
Author

原来如此!多谢多谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants