Skip to content

Commit

Permalink
Docs: Add copy button to code blocks (#9262)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurkle committed Jun 13, 2021
1 parent 22c02ed commit 54da534
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/.vuepress/config.js
Expand Up @@ -29,6 +29,7 @@ module.exports = {
{base: '/samples', alternative: ['bar/vertical']},
],
}],
['vuepress-plugin-code-copy', true],
[
'vuepress-plugin-typedoc',
{
Expand Down
15 changes: 14 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -97,6 +97,7 @@
"typescript": "~4.1.0",
"vue-tabs-component": "^1.5.0",
"vuepress": "^1.8.2",
"vuepress-plugin-code-copy": "^1.0.6",
"vuepress-plugin-flexsearch": "^0.1.0",
"vuepress-plugin-redirect": "^1.2.5",
"vuepress-plugin-tabs": "^0.3.0",
Expand Down

0 comments on commit 54da534

Please sign in to comment.