fuc-new/doc/node_modules/@vuepress/plugin-copy-code/lib/node/copyCodePlugin.d.ts
hellcat 6adbc04d4b 1
2025-10-03 17:17:08 +08:00

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;