@mr-hope/vuepress-plugin-copy-code
Version:
Copy Code plugin for vuepress
33 lines (21 loc) • 1.42 kB
Markdown
<!-- markdownlint-disable -->
<p align="center">
<img width="240" src="https://vuepress-theme-hope.github.io/v1/logo.svg" style="text-align: center;"/>
</p>
<h1 align="center">@mr-hope/vuepress-plugin-copy-code</h1>
<h4 align="center">VuePress copy code plugin📋 / VuePress 代码复制插件📋</h4>
[  ](https://www.npmjs.com/package/@mr-hope/vuepress-plugin-copy-code)
<!-- markdownlint-restore -->
VuePress copy code plugin📋 / VuePress 代码复制插件 📋
## [Official Docs](https://vuepress-theme-hope.github.io/v1/copy-code/) | [官方文档](https://vuepress-theme-hope.gitee.io/v1/copy-code/zh/)
## V2 Version / V2 版本
VuePress 2 is recommanded to start new project. You should use [`vuepress-plugin-copy-code2@next`](https://vuepress-theme-hope.github.io/v2/copy-code/).
建议在新项目中使用 VuePress 2。你应该使用 [`vuepress-plugin-copy-code2@next`](https://vuepress-theme-hope.gitee.io/v2/copy-code/zh/).
## Usage / 使用
```bash
npm i -D @mr-hope/vuepress-plugin-copy-code
```
Or
```bash
yarn add -D @mr-hope/vuepress-plugin-copy-code
```