Giter Site home page Giter Site logo

ringcrl / qiniu-fig-bed Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coderfe/qiniu-fig-bed

0.0 1.0 0.0 1.55 MB

VSCode 一键上传图片到七牛图床插件

Home Page: https://marketplace.visualstudio.com/items?itemName=coderfee.qiniu-fig-bed

License: MIT License

JavaScript 96.79% HTML 3.21%

qiniu-fig-bed's Introduction

VSCode 七牛图床工具

qiniu-fig-bed qiniu-fig-bed

一款 VSCode 插件,在 VSCode 中上传图片到七牛云空间。

功能展示

当你在编辑 markdown 文件需要插入外部图片时,你可是使用这款插件直接上传并生成 markdown 格式的链接直接插入到文档,省去了在网页端上传的诸多步骤。(前提是需要复制本地文件路径),快捷键为:'crtl+q n'

示例如下:

blog/qiniu-fig-bed.gif

小提示:第二个输入框的内容可选,如果不填则会将文件名称格式化为当前日期。

  1. 复制本地文件路径(可以按住 shift + 鼠标右键快速复制)
  2. 打开 Markdown 文件,快捷键为:Ctrl + Q N
  3. IMPORTANT: 然后在弹出的第二个输入框中输入文件上传之后的名称,可以包含前缀(用于分类文件),可以省略文件后缀,如:blog/my-image

配置

打开 file > preferences > User Settings > qiniu,更改 User Setting 如下:

"qiniu.enable": true,
"qiniu.AccessKey": "your access_key",
"qiniu.SecretKey": "your secret_key",
"qiniu.bucket": "your bucket",
"qiniu.remotePath": "",
"qiniu.domain": "you bucket domain"

小提示: access_key & secret_key 可以在这里找到

联系我

如果你有好的想法,联系我:[email protected]

License

MIT

Enjoy!

qiniu-fig-bed's People

Contributors

coderfe avatar ringcrl avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.