/vs-picgo-savelocal

基于vsc插件vs-picgo,新增了上传后保存图片到本地路径的功能,方便管理图片

Primary LanguageTypeScriptMIT LicenseMIT

vs-picgo-savelocal

基于vs-picgo新增保存图片到本地的插件,更好地在本地管理markdown里图片资源。

Overview

vs-picgo 保持一致,唯一的不同是新增了picgo.localSavePath配置,可以根据markdown文件名自由配置本地保存地址

如果你不需要本地保存功能,还是推荐用 vs-picgo

在此感谢 vs-picgoPicGo-Core

Features

Uploading an image from clipboard clipboard.gif
Uploading images from explorer explorer.gif
Uploading images from input box input box.gif
Use selection text as the uploaded fileName selection.gif Notice: These characters: \$, :, /, ? and newline will be ignored in the image name. (Because they are invalid for file names.)

Keyboard shortcuts

You can change all the shortcuts below as you wish.

OS Uploading an image from clipboard Uploading images from explorer Uploading an image from input box
Windows/Unix Ctrl + Alt + U Ctrl + Alt + E Ctrl + Alt + O
OsX Cmd + Opt + U Cmd + Opt + E Cmd + Opt + O

Settings

  • Default

    • The default image hosting is SM.MS.
  • Custom

    We can customize the settings in VSCode settings vscode-setting.png
    • Use an external configuration file

      Enter the path of the configuration file external-config.png
    • Use VSCode settings

      First, choose the current PicBed current-picbed.png
      Then, input all the info the current PicBed needs picbed-info.png
      Customize the name of the image to be uploaded Notice: If you selected some text before uploading, the selection will become the fileName of the image to be uploaded. image-name.png
      Customize the output format of the uploaded image output-format.png
      vs-picgo-savelocal新增功能: 配置上传完图片后的本地保存目录路径

      对应修改picgo.localSavePath配置

Thanks

Enjoy!