chore: update patch

pull/5007/head
bluwy 1 month ago
parent e021c43e8e
commit 806c23f80b
No known key found for this signature in database

@ -0,0 +1,23 @@
diff --git a/dist/index.mjs b/dist/index.mjs
index 7146607f6eb82fe3e58634d0be5acfaa929cf526..a1cdfa79be761a0efc9880a35ec12016b7aea837 100644
--- a/dist/index.mjs
+++ b/dist/index.mjs
@@ -200,7 +200,7 @@ function groupIconMdPlugin(md, options) {
});
};
const fenceRule = md.renderer.rules.fence;
- if (fenceRule) md.renderer.rules.fence = (...args) => {
+ if (false) md.renderer.rules.fence = (...args) => {
const [tokens, idx] = args;
const token = tokens[idx];
let isOnCodeGroup = false;
@@ -232,7 +232,8 @@ const HTTP_URL_RE = /^https?:\/\//;
async function generateCSS(labels, options) {
const baseCSS = `
.vp-code-block-title [data-title]::before,
-.vp-code-group [data-title]::before {
+.vp-code-group [data-title]::before,
+.vp-doc [class*='language-'] [data-title]::before {
display: inline-block;
width: 1em;
height: 1em;

@ -4,6 +4,9 @@ settings:
autoInstallPeers: false
excludeLinksFromLockfile: false
patchedDependencies:
vitepress-plugin-group-icons: c379c3737bf09a62f52fdff21e0d71647ab2bdd813a34ac32a4d8aa1edca0e7f
importers:
.:
@ -311,7 +314,7 @@ importers:
version: link:..
vitepress-plugin-group-icons:
specifier: ^1.7.6
version: 1.7.6(vite@8.2.0(@types/node@26.1.2)(esbuild@0.27.7)(jiti@1.21.7)(yaml@2.9.0))
version: 1.7.6(patch_hash=c379c3737bf09a62f52fdff21e0d71647ab2bdd813a34ac32a4d8aa1edca0e7f)(vite@8.2.0(@types/node@26.1.2)(esbuild@0.27.7)(jiti@1.21.7)(yaml@2.9.0))
vitepress-plugin-llms:
specifier: ^1.13.4
version: 1.13.4
@ -5153,7 +5156,7 @@ snapshots:
jiti: 1.21.7
yaml: 2.9.0
vitepress-plugin-group-icons@1.7.6(vite@8.2.0(@types/node@26.1.2)(esbuild@0.27.7)(jiti@1.21.7)(yaml@2.9.0)):
vitepress-plugin-group-icons@1.7.6(patch_hash=c379c3737bf09a62f52fdff21e0d71647ab2bdd813a34ac32a4d8aa1edca0e7f)(vite@8.2.0(@types/node@26.1.2)(esbuild@0.27.7)(jiti@1.21.7)(yaml@2.9.0)):
dependencies:
'@iconify-json/logos': 1.2.11
'@iconify-json/vscode-icons': 1.2.67

@ -16,6 +16,9 @@ minimumReleaseAgeExclude:
- '@mdit/*'
- '@vueuse/*'
patchedDependencies:
vitepress-plugin-group-icons: patches/vitepress-plugin-group-icons.patch
shellEmulator: true
strictPeerDependencies: true

@ -56,7 +56,7 @@ export function preWrapperPlugin(md: MarkdownItAsync, options: Options) {
`<button title="${tooltipText}" data-copied="${copiedText}" class="copy"></button>` +
`<span class="lang">${label}</span>` +
fence(...args) +
`</div>`
'</div>'
)
}
}

Loading…
Cancel
Save