要点:如何将图像上传到要点? [英] Gist: How are images uploaded to a gist?
本文介绍了要点:如何将图像上传到要点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是图像文件:
Here is the image file: https://gist.github.com/mbostock/5503544#file-thumbnail-png
I tried to drag-and-drop the image file in the edit mode of a gist. That didn't seem to work in Chrome and FireFox.
Update: After back and forth emails with GitHub, this feature (drag-and-drop binary files, including images) isn't supported.
解决方案
With a little creativity you can achieve this faster than cloning. To drag/drop:
- Create the Gist
- Drag an image into the comment field below. This will auto-upload your image file to
https://user-images.githubusercontent.com
and insert markdown code in the comment field to display the image. - Copy this markdown code to your gist
Note: It is not required that you submit the comment.
这篇关于要点:如何将图像上传到要点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文