Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 692 Bytes

readme.md

File metadata and controls

47 lines (38 loc) · 692 Bytes
home title icon heroImage heroText tagline action footer copyrightText
true
@mr-hope/vuepress-plugin-copy-code
home
/logo.svg
@mr-hope/vuepress-plugin-copy-code
为 VuePress 提供代码块一键复制
text link
快速上手 💡
/zh/guide/
text link
配置 🛠
/zh/config/
MIT Licensed | Copyright © 2019-present Mr.Hope
false

使用插件

安装

npm i -D @mr-hope/vuepress-plugin-copy-code

yarn add -D @mr-hope/vuepress-plugin-copy-code

使用

// .vuepress/config.js
module.exports = {
  plugins: [
    [
      "@mr-hope/copy-code",
      {
        // 你的选项
      },
    ],
  ],
};