diff --git a/package.json b/package.json index 3d49c58..031a393 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,8 @@ "@docsearch/js": "^3.6.0", "@vueuse/core": "^10.9.0", "body-scroll-lock": "^4.0.0-beta.0", - "normalize.css": "^8.0.1" + "normalize.css": "^8.0.1", + "tiny-decode": "^0.1.3" }, "devDependencies": { "@mdit-vue/types": "^2.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index df53420..7fe94b8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,6 +23,9 @@ importers: normalize.css: specifier: ^8.0.1 version: 8.0.1 + tiny-decode: + specifier: ^0.1.3 + version: 0.1.3 devDependencies: '@mdit-vue/types': specifier: ^2.1.0 @@ -650,6 +653,9 @@ packages: tabbable@6.2.0: resolution: {integrity: sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==} + tiny-decode@0.1.3: + resolution: {integrity: sha512-1z+tXaZpPUyREOfjKDQj5lR6HfD6Pa4NF7pb/9ep7sP4+X5WF76bGdJktWCY1Rm+aMR46vJ75VAL/oAptpD1AA==} + to-fast-properties@2.0.0: resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} engines: {node: '>=4'} @@ -1299,6 +1305,10 @@ snapshots: tabbable@6.2.0: {} + tiny-decode@0.1.3: + dependencies: + entities: 4.5.0 + to-fast-properties@2.0.0: {} typescript@5.4.5: {} diff --git a/src/vitepress/components/VPDocOutlineItem.vue b/src/vitepress/components/VPDocOutlineItem.vue index fe9b56b..d5d2932 100644 --- a/src/vitepress/components/VPDocOutlineItem.vue +++ b/src/vitepress/components/VPDocOutlineItem.vue @@ -1,5 +1,6 @@