@sy-records/docsify-pangu 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -11,5 +11,5 @@ A docsify plugin for automatically adding spaces.
11
11
  # Usage
12
12
 
13
13
  ```html
14
- <script src="//cdn.jsdelivr.net/npm/@sy-records/docsify-pangu/dist/pangu.min.js"></script>
14
+ <script src="//cdn.jsdelivr.net/npm/@sy-records/docsify-pangu@2"></script>
15
15
  ```
package/dist/index.min.js CHANGED
@@ -1,2 +1,2 @@
1
- function appendScript(){const n=document.createElement("script");n.async=!0,n.src="https://cdn.jsdelivr.net/npm/pangu",document.body.appendChild(n)}function panguPlugin(n){n.init((()=>{appendScript()})),n.doneEach((()=>{window.pangu&&window.pangu.spacingElementByClassName("markdown-section")}))}window.$docsify=window.$docsify||{},$docsify.plugins=[...$docsify.plugins||[],panguPlugin];
1
+ function appendScript(){const n=document.createElement("script");n.async=!0,n.src="https://cdn.jsdelivr.net/npm/pangu",document.body.appendChild(n)}function panguPlugin(n){n.init(()=>{appendScript()}),n.doneEach(()=>{window.pangu&&window.pangu.spacingElementByClassName("markdown-section")})}window.$docsify=window.$docsify||{},$docsify.plugins=[...$docsify.plugins||[],panguPlugin];
2
2
  //# sourceMappingURL=index.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.min.js","names":["appendScript","script","document","createElement","async","src","body","appendChild","panguPlugin","hook","init","doneEach","window","pangu","spacingElementByClassName","$docsify","plugins"],"sources":["0"],"mappings":"AAAA,SAASA,eACP,MAAMC,EAASC,SAASC,cAAc,UACtCF,EAAOG,OAAQ,EACfH,EAAOI,IAAM,qCACbH,SAASI,KAAKC,YAAYN,EAC5B,CAEA,SAASO,YAAYC,GACnBA,EAAKC,MAAK,KACRV,cAAc,IAGhBS,EAAKE,UAAS,KACRC,OAAOC,OACTD,OAAOC,MAAMC,0BAA0B,mBACzC,GAEJ,CAEAF,OAAOG,SAAWH,OAAOG,UAAY,CAAC,EACtCA,SAASC,QAAU,IAAKD,SAASC,SAAW,GAAKR","ignoreList":[]}
1
+ {"version":3,"file":"index.min.js","names":["appendScript","script","document","createElement","async","src","body","appendChild","panguPlugin","hook","init","doneEach","window","pangu","spacingElementByClassName","$docsify","plugins"],"sources":["0"],"mappings":"AAAA,SAASA,eACP,MAAMC,EAASC,SAASC,cAAc,UACtCF,EAAOG,OAAQ,EACfH,EAAOI,IAAM,qCACbH,SAASI,KAAKC,YAAYN,EAC5B,CAEA,SAASO,YAAYC,GACnBA,EAAKC,KAAK,KACRV,iBAGFS,EAAKE,SAAS,KACRC,OAAOC,OACTD,OAAOC,MAAMC,0BAA0B,qBAG7C,CAEAF,OAAOG,SAAWH,OAAOG,UAAY,CAAC,EACtCA,SAASC,QAAU,IAAKD,SAASC,SAAW,GAAKR","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sy-records/docsify-pangu",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "A docsify plugin for automatically adding spaces.",
5
5
  "main": "dist/index.js",
6
6
  "repository": {