22 lines
478 B
TypeScript
22 lines
478 B
TypeScript
import type { PluginFunction } from 'vuepress/core';
|
|
import type { CopyCodePluginOptions } from './options.js';
|
|
/**
|
|
* Copy code plugin for VuePress
|
|
*
|
|
* VuePress 复制代码插件
|
|
*
|
|
* @example
|
|
* ```ts
|
|
* import { copyCodePlugin } from '@vuepress/plugin-copy-code'
|
|
*
|
|
* export default {
|
|
* plugins: [
|
|
* copyCodePlugin({
|
|
* // options
|
|
* }),
|
|
* ],
|
|
* }
|
|
* ```
|
|
*/
|
|
export declare const copyCodePlugin: (options?: CopyCodePluginOptions) => PluginFunction;
|