How to upload images to raw.githubusercontent.com - Stack Overflow
高洛峰
高洛峰 2017-05-19 10:46:42
0
2
1104

The image address of readme.md of some projects seen on github is http://raw.githubusercontent....user name/project name/branch name/file path. How do you upload the file?

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(2)
曾经蜡笔没有小新

Actually, the problem is a bit complicated. The simplest way is to put the files that need to be uploaded in the project and upload them to github. Go to the file page, click download to jump to a new page, and just copy its URL.

某草草

https://rawgit.com/
Serves files from raw.githubusercontent.com, but with the correct content types.

By the way, in issues 里面图片可以直接拖拽,这样会自动上传到https://cloud.githubusercontent.com

At the same time, when using pictures in the readme, you can also create a directory under the project to store these pictures, and markdown quotes https://github.com/你的github用户名/项目名/blob/分支/存放图片目录/图片名 to quote

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template