Code Monkey home page Code Monkey logo

vscode-markwown-qcloud's Introduction

vsocode markdown 编辑下 替换本地图片为qcloud url

功能

vscode插件 编辑markdown时可右键选择插入本地图片,上传到腾讯云并copy到md相对目录,方便写hugo博客

配置

  /**
   * all 插入本地并上传到腾讯云
   * off 不用插件
   * qcloud 仅上传到腾讯云不copy副本到目录
   * local 仅copy副本到目录
  **/
  "qcloudImage.enable": "all",
  "qcloudImage.domain": "https://static.youngcong.com/", // 如果存储桶域名
  "qcloudImage.secretId": "AKIDzmPnxr0v4xax5xIx5zd1A3g4D6vZF71g", // 开发者拥有的项目身份识别 ID
  "qcloudImage.secretKey": "", //  开发者拥有的项目身份密钥
  "qcloudImage.bucket": "ghost-1251180266@ap-beijing", //  存储桶名@桶地域
  "qcloudImage.localPath": "./static"  // 本地存储目录 workspaceFolders相对路径

使用

没搞定开发者账号所以没上marketplace,可以使用已打包的.vsix或者自行打包

有人能上传那就更好了

 git clone 
 npm i 
 npm i -g vsce
 vsce package

vscode-markwown-qcloud's People

Contributors

enhay avatar

Watchers

 avatar  avatar  avatar

Forkers

jokerinshadow

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.