Skip to content

Commit

Permalink
Merge pull request #317 from Bobinstein/codeCopy
Browse files Browse the repository at this point in the history
feat: Installed code copy plugin
  • Loading branch information
twilson63 authored Mar 27, 2024
2 parents 9f47635 + 4cf8845 commit 55d1d5a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@
"license": "MIT",
"devDependencies": {
"@bundlr-network/client": "^0.9.11",
"arweave": "^1.11.8",
"prettier": "^2.8.4",
"vuepress": "2.0.0-beta.61",
"@snippetors/vuepress-plugin-code-copy": "^1.2.3",
"@vuepress/plugin-container": "2.0.0-beta.61",
"@vuepress/plugin-medium-zoom": "2.0.0-beta.61",
"@vuepress/plugin-search": "2.0.0-beta.61",
"arweave": "^1.11.8",
"prettier": "^2.8.4",
"vuepress": "2.0.0-beta.61",
"warp-contracts": "^1.2.37"
},
"dependencies": {
Expand Down
2 changes: 2 additions & 0 deletions docs/src/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { defaultTheme } from "@vuepress/theme-default";
import { containerPlugin } from "@vuepress/plugin-container";
import { mediumZoomPlugin } from "@vuepress/plugin-medium-zoom";
import { searchPlugin } from "@vuepress/plugin-search";
import codeCopyPlugin from '@snippetors/vuepress-plugin-code-copy'

import createSidebars from "./sidebar";
import { languages } from "../../languages/def";
Expand Down Expand Up @@ -99,6 +100,7 @@ export default {
},
},
}),
codeCopyPlugin({})
],

// passing languages def to client side
Expand Down
5 changes: 5 additions & 0 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,11 @@
"@noble/hashes" "~1.1.1"
"@scure/base" "~1.1.0"

"@snippetors/vuepress-plugin-code-copy@^1.2.3":
version "1.2.3"
resolved "https://registry.yarnpkg.com/@snippetors/vuepress-plugin-code-copy/-/vuepress-plugin-code-copy-1.2.3.tgz#4cc5f7ef7530ff6654786f6baa2e15ca4ffb8b14"
integrity sha512-PiUbhlYseY4UqsE/ike/Up27GkrbHvR7OJqV5nlmHEW141uWcrVaBZsBS870ckqNF+vd2fk8g4TyoiHvxaUzSg==

"@solana/buffer-layout@^4.0.0":
version "4.0.1"
resolved "https://registry.yarnpkg.com/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz#b996235eaec15b1e0b5092a8ed6028df77fa6c15"
Expand Down

0 comments on commit 55d1d5a

Please sign in to comment.