PicGo / picgo-plugin-autocopy

A picgo plugin for auto copying url to clipboard after uploading

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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>

About

A picgo plugin for auto copying url to clipboard after uploading

License:MIT License


Languages

Language:TypeScript 100.0%