mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
19 lines
290 B
Markdown
19 lines
290 B
Markdown
# `@vuepress-plume/plugin-copy-code`
|
|
|
|
## Install
|
|
```
|
|
yarn add @vuepress-plume/plugin-copy-code
|
|
```
|
|
## Usage
|
|
``` js
|
|
// .vuepress/config.js
|
|
const { copyCodePlugin } = require('@vuepress-plume/plugin-copy-code')
|
|
module.exports = {
|
|
// ...
|
|
plugins: [
|
|
copyCodePlugin()
|
|
]
|
|
// ...
|
|
}
|
|
```
|