这个插件能够方便将本地的Markdown图片链接上传到GitHub仓库(使用Github作为图床),并自动转换成HTTP在线图片链接。本地的图片链接无法通过Markdown方便的分享给别人,但是借助Github作为我们的图床,HTTP图片链接可以方便的被别人访问查看。
自动上传图片到github,文本会被自动替换成对应的http链接
- github token(参见 https://github.com/settings/tokens)
- 仓库所有者
- 仓库名称
- 仓库分支
The following describes a functionality that uploads local image links in Markdown to a GitHub repository and automatically converts them into HTTP links. Local image links cannot be easily shared with others via Markdown, but HTTP image links can be conveniently accessed by others for viewing. A specific example is provided below.
Give a specific example.
The original image link in markdown is
Right-click to pop up the menu, select Upload Photo To Git
Upload the image to github automatically, and the text will be automatically replaced with the corresponding http link
- github token (see https://github.com/settings/tokens)
- repository owner
- repository name
- repository branch
Enjoy!