You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@zhengqbbb/vuepress-plugin-clipboard

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@zhengqbbb/vuepress-plugin-clipboard

Vuepress2 plugin - copy clipboard

1.0.2
unpublished
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

qbenben code-copy

base: snippets Vuepress2 code-copy plugin

yarn add -D @zhengqbbb/vuepress-plugin-clipboard

Use:

import type { PluginConfig } from '@vuepress/core'

const codeCopyPlugin: PluginConfig = [
  '@zhengqbbb/vuepress-plugin-clipboard',
  {},
]

export default codeCopyPlugin;

option:

selector: options.selector || 'div[class*="language-"]',
delay: options.delay || 400,
align: options.align || "bottom",
color: options.color || "#3aa675",
backgroundColor: options.backgroundColor || "#71cda3",
backgroundTransition: options.backgroundTransition !== false,
successText: options.successText || "Copied!",
successTextColor: options.successTextColor || options.color || "#349469",
staticIcon: options.staticIcon === true,

License

MIT

Keywords

vuepress-plugin

FAQs

Package last updated on 29 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts