Skip to content

Commit

Permalink
docs: fix wrong syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ntnyq committed Dec 20, 2024
1 parent 7e4aee7 commit eb324c2
Show file tree
Hide file tree
Showing 5 changed files with 190 additions and 134 deletions.
19 changes: 10 additions & 9 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ shareImage: /hero.png
tags: VuePress, plugin, SocialShare
---

<social-share :networks="[
'qrcode',
'wechat',
'qq',
'twitter',
'facebook',
'weibo',
'email',
'pinterest'
<social-share
:networks="[
'qrcode',
'wechat',
'qq',
'twitter',
'facebook',
'weibo',
'email',
'pinterest'
]"
/>
6 changes: 4 additions & 2 deletions docs/guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ const extendsNetworks: SocialShareNetworkData = {
icon: '<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M910.336 0H113.664A114.005333 114.005333 0 0 0 0 113.664v796.672A114.005333 114.005333 0 0 0 113.664 1024h796.672A114.005333 114.005333 0 0 0 1024 910.336V113.664A114.005333 114.005333 0 0 0 910.336 0zM352.256 796.330667H207.189333V375.466667h145.066667z m-72.021333-477.866667a77.824 77.824 0 0 1-81.237334-74.069333A77.824 77.824 0 0 1 280.234667 170.666667a77.824 77.824 0 0 1 81.237333 73.728 77.824 77.824 0 0 1-81.237333 73.386666z m582.314666 477.866667H716.8v-227.669334c0-46.762667-18.432-93.525333-73.045333-93.525333a84.992 84.992 0 0 0-81.237334 94.549333v226.304h-140.629333V375.466667h141.653333v60.757333a155.989333 155.989333 0 0 1 136.533334-71.338667c60.416 0 163.498667 30.378667 163.498666 194.901334z" /></svg>',
},
twitter: {
light: '#1786b1',
dark: '#ff0',
color: {
light: '#1786b1',
dark: '#ff0',
}
},
}

Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vuepress-plugin-social-share",
"type": "module",
"version": "2.0.0-beta.26",
"packageManager": "pnpm@9.15.0",
"packageManager": "pnpm@9.15.1",
"description": "Social sharing plugin for VuePress",
"keywords": [
"facebook",
Expand Down Expand Up @@ -65,7 +65,7 @@
"vue": "^3.5.13"
},
"devDependencies": {
"@ntnyq/eslint-config": "^3.9.2",
"@ntnyq/eslint-config": "^3.9.4",
"@ntnyq/prettier-config": "^1.22.0",
"@types/node": "^22.10.2",
"bumpp": "^9.9.1",
Expand All @@ -74,7 +74,6 @@
"husky": "^9.1.7",
"nano-staged": "^0.8.0",
"npm-run-all2": "^7.0.2",
"pnpm": "^9.15.0",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"tsc-watch": "^6.2.1",
Expand Down
Loading

0 comments on commit eb324c2

Please sign in to comment.