Skip to content

Commit

Permalink
add copy button to code snippets (#2597) (#2600)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Fornuto <afornuto@pomerium.com>
  • Loading branch information
backport-actions-token[bot] and Alex Fornuto committed Sep 16, 2021
1 parent a3005bf commit 749e7b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/.vuepress/config.js
Expand Up @@ -6,6 +6,10 @@ module.exports = {
plugins: [
"vuepress-plugin-element-tabs",
'vuepress-plugin-mermaidjs',
[
'vuepress-plugin-code-copy',
true
],
[
"check-md",
{
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -16,6 +16,7 @@
},
"dependencies": {
"esm": "3.2.25",
"markdown-it-include": "^2.0.0"
"markdown-it-include": "^2.0.0",
"vuepress-plugin-code-copy": "^1.0.6"
}
}

0 comments on commit 749e7b9

Please sign in to comment.