mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Docs: Add copy button to code blocks (#9262)
This commit is contained in:
parent
22c02ede02
commit
54da5341f1
@ -29,6 +29,7 @@ module.exports = {
|
||||
{base: '/samples', alternative: ['bar/vertical']},
|
||||
],
|
||||
}],
|
||||
['vuepress-plugin-code-copy', true],
|
||||
[
|
||||
'vuepress-plugin-typedoc',
|
||||
{
|
||||
|
||||
15
package-lock.json
generated
15
package-lock.json
generated
@ -6,7 +6,7 @@
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "chart.js",
|
||||
"version": "3.3.0",
|
||||
"version": "3.3.1",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@kurkle/color": "^0.1.9",
|
||||
@ -57,6 +57,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",
|
||||
@ -17417,6 +17418,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",
|
||||
@ -33321,6 +33328,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",
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user