Skip to content

Commit 8c7a06a

Browse files
authored
Merge pull request #228 from ansidev/deps/markdown-it-shiki-0.8.0
2 parents 3fb75d6 + 76a9905 commit 8c7a06a

File tree

5 files changed

+28
-35
lines changed

5 files changed

+28
-35
lines changed

components.d.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
// generated by unplugin-vue-components
2-
// We suggest you to commit this file into source control
1+
/* eslint-disable */
2+
/* prettier-ignore */
3+
// @ts-nocheck
4+
// Generated by unplugin-vue-components
35
// Read more: https://github.com/vuejs/core/pull/3399
46
import '@vue/runtime-core'
57

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"markdown-it": "^13.0.1",
6262
"markdown-it-anchor": "^8.6.6",
6363
"markdown-it-link-attributes": "^4.0.1",
64-
"markdown-it-shiki": "^0.7.2",
64+
"markdown-it-shiki": "^0.8.0",
6565
"markdown-it-toc-done-right": "^4.2.0",
6666
"postcss": "^8.4.21",
6767
"postcss-nested": "^6.0.0",

pnpm-lock.yaml

+14-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/assets/css/markdown.css

+4-13
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,14 @@
1414
font-family: 'IBM Plex Mono', monospace;
1515
font-size: 1.2em;
1616
line-height: 1.4;
17-
}
18-
19-
html.dark .shiki-light,
20-
html:not(.dark) .shiki-dark {
21-
display: none;
22-
}
23-
24-
html.dark .shiki-dark,
25-
html:not(.dark) .shiki-light {
2617
margin-top: 0;
2718
margin-bottom: 0;
2819
}
2920

30-
html.dark .shiki-dark {
31-
background: none !important;
21+
html.dark .min-light {
22+
display: none;
3223
}
3324

34-
html:not(.dark) .shiki-light {
35-
background: #fdf6e3 !important;
25+
html:not(.dark) .min-dark {
26+
display: none;
3627
}

src/auto-imports.d.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ declare global {
9191
const refThrottled: typeof import('@vueuse/core')['refThrottled']
9292
const refWithControl: typeof import('@vueuse/core')['refWithControl']
9393
const resolveComponent: typeof import('vue')['resolveComponent']
94-
const resolveDirective: typeof import('vue')['resolveDirective']
9594
const resolveRef: typeof import('@vueuse/core')['resolveRef']
9695
const resolveUnref: typeof import('@vueuse/core')['resolveUnref']
9796
const shallowReactive: typeof import('vue')['shallowReactive']
@@ -290,6 +289,11 @@ declare global {
290289
const watchWithFilter: typeof import('@vueuse/core')['watchWithFilter']
291290
const whenever: typeof import('@vueuse/core')['whenever']
292291
}
292+
// for type re-export
293+
declare global {
294+
// @ts-ignore
295+
export type { Component,ComponentPublicInstance,ComputedRef,InjectionKey,PropType,Ref,VNode } from 'vue'
296+
}
293297
// for vue template auto import
294298
import { UnwrapRef } from 'vue'
295299
declare module 'vue' {
@@ -384,7 +388,6 @@ declare module 'vue' {
384388
readonly refThrottled: UnwrapRef<typeof import('@vueuse/core')['refThrottled']>
385389
readonly refWithControl: UnwrapRef<typeof import('@vueuse/core')['refWithControl']>
386390
readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']>
387-
readonly resolveDirective: UnwrapRef<typeof import('vue')['resolveDirective']>
388391
readonly resolveRef: UnwrapRef<typeof import('@vueuse/core')['resolveRef']>
389392
readonly resolveUnref: UnwrapRef<typeof import('@vueuse/core')['resolveUnref']>
390393
readonly shallowReactive: UnwrapRef<typeof import('vue')['shallowReactive']>

0 commit comments

Comments
 (0)