1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-24 13:47:38 +00:00

feat(docs): Add copy button for code snippets via plugin (#3118)

Adds copy button for code snippets via plugin
This commit is contained in:
Pratham Sharma 2021-10-06 23:51:48 +05:30 committed by GitHub
parent dfb1208787
commit 243dd64836
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 1 deletions

View File

@ -287,6 +287,7 @@ module.exports = {
{
hostname: "https://starship.rs"
}
]
],
['vuepress-plugin-code-copy', true]
]
};

13
docs/package-lock.json generated
View File

@ -7,6 +7,7 @@
"devDependencies": {
"@vuepress/plugin-google-analytics": "^1.8.2",
"vuepress": "^1.8.2",
"vuepress-plugin-code-copy": "^1.0.6",
"vuepress-plugin-sitemap": "^2.3.1",
"vuepress-theme-default-prefers-color-scheme": "^2.0.0"
}
@ -11966,6 +11967,12 @@
"object.getownpropertydescriptors": "^2.0.3"
}
},
"node_modules/vuepress-plugin-code-copy": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/vuepress-plugin-code-copy/-/vuepress-plugin-code-copy-1.0.6.tgz",
"integrity": "sha512-FiqwMtlb4rEsOI56O6sSkekcd3SlESxbkR2IaTIQxsMOMoalKfW5R9WlR1Pjm10v6jmU661Ex8MR11k9IzrNUg==",
"dev": true
},
"node_modules/vuepress-plugin-container": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/vuepress-plugin-container/-/vuepress-plugin-container-2.1.5.tgz",
@ -23120,6 +23127,12 @@
}
}
},
"vuepress-plugin-code-copy": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/vuepress-plugin-code-copy/-/vuepress-plugin-code-copy-1.0.6.tgz",
"integrity": "sha512-FiqwMtlb4rEsOI56O6sSkekcd3SlESxbkR2IaTIQxsMOMoalKfW5R9WlR1Pjm10v6jmU661Ex8MR11k9IzrNUg==",
"dev": true
},
"vuepress-plugin-container": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/vuepress-plugin-container/-/vuepress-plugin-container-2.1.5.tgz",

View File

@ -6,6 +6,7 @@
"devDependencies": {
"@vuepress/plugin-google-analytics": "^1.8.2",
"vuepress": "^1.8.2",
"vuepress-plugin-code-copy": "^1.0.6",
"vuepress-plugin-sitemap": "^2.3.1",
"vuepress-theme-default-prefers-color-scheme": "^2.0.0"
}