Skip to content

A picgo plugin for auto copying url to clipboard after uploading

License

Notifications You must be signed in to change notification settings

PicGo/picgo-plugin-autocopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

picgo-plugin-autocopy

A picgo plugin for auto copying url to clipboard after uploading.

CLI Only.

It's useless for the electron version of PicGo since it already has this feature. It's useful when you are using picgo in CLI.

Installation

picgo install autocopy

Configuration

picgo-plugin-autocopy supports 5 kinds of url types:

  • markdown
  • URL (default)
  • HTML
  • UBB
  • Custom

To change the default type of url, please run:

picgo set plugin autocopy

Custom means you can create your own types of url for copying. Just place the $url to your own string.

For example:

<a href="$url"><img src="$url"></a>

And it will be coverted to:

<a href="https://xxx.jpg"><img src="https://xxx.jpg"></a>