mirror of
https://github.com/ryan4yin/nixos-and-flakes-book
synced 2024-11-23 04:33:08 +00:00
fix: markdown's color theme
This commit is contained in:
parent
cf51f22984
commit
8f0b8d6cb2
3 changed files with 32 additions and 26 deletions
|
@ -74,7 +74,6 @@ export default defineConfig({
|
|||
|
||||
// markdown options
|
||||
markdown: {
|
||||
theme: "material-theme-palenight",
|
||||
lineNumbers: true,
|
||||
|
||||
config: (md) => {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
"vitepress": "1.0.0-rc.4",
|
||||
"vitepress": "1.0.0-rc.20",
|
||||
"vitepress-export-pdf": "1.0.0-beta.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
|
@ -10,11 +10,11 @@ dependencies:
|
|||
|
||||
devDependencies:
|
||||
vitepress:
|
||||
specifier: 1.0.0-rc.4
|
||||
version: 1.0.0-rc.4(@algolia/client-search@4.20.0)(search-insights@2.8.3)
|
||||
specifier: 1.0.0-rc.20
|
||||
version: 1.0.0-rc.20(@algolia/client-search@4.20.0)(search-insights@2.8.3)
|
||||
vitepress-export-pdf:
|
||||
specifier: 1.0.0-beta.0
|
||||
version: 1.0.0-beta.0(esbuild@0.19.4)(vitepress@1.0.0-rc.4)
|
||||
version: 1.0.0-beta.0(esbuild@0.19.4)(vitepress@1.0.0-rc.20)
|
||||
|
||||
packages:
|
||||
|
||||
|
@ -733,6 +733,21 @@ packages:
|
|||
resolution: {integrity: sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==}
|
||||
dev: true
|
||||
|
||||
/@types/linkify-it@3.0.3:
|
||||
resolution: {integrity: sha512-pTjcqY9E4nOI55Wgpz7eiI8+LzdYnw3qxXCfHyBDdPbYvbyLgWLJGh8EdPvqawwMK1Uo1794AUkkR38Fr0g+2g==}
|
||||
dev: true
|
||||
|
||||
/@types/markdown-it@13.0.2:
|
||||
resolution: {integrity: sha512-Tla7hH9oeXHOlJyBFdoqV61xWE9FZf/y2g+gFVwQ2vE1/eBzjUno5JCd3Hdb5oATve5OF6xNjZ/4VIZhVVx+hA==}
|
||||
dependencies:
|
||||
'@types/linkify-it': 3.0.3
|
||||
'@types/mdurl': 1.0.3
|
||||
dev: true
|
||||
|
||||
/@types/mdurl@1.0.3:
|
||||
resolution: {integrity: sha512-T5k6kTXak79gwmIOaDF2UUQXFbnBE0zBUzF20pz7wDYu0RQMzWg+Ml/Pz50214NsFHBITkoi5VtdjFZnJ2ijjA==}
|
||||
dev: true
|
||||
|
||||
/@types/minimatch@3.0.5:
|
||||
resolution: {integrity: sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==}
|
||||
dev: true
|
||||
|
@ -764,17 +779,6 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@vitejs/plugin-vue@4.4.0(vite@4.4.11)(vue@3.3.4):
|
||||
resolution: {integrity: sha512-xdguqb+VUwiRpSg+nsc2HtbAUSGak25DXYvpQQi4RVU1Xq1uworyoH/md9Rfd8zMmPR/pSghr309QNcftUVseg==}
|
||||
engines: {node: ^14.18.0 || >=16.0.0}
|
||||
peerDependencies:
|
||||
vite: ^4.0.0
|
||||
vue: ^3.2.25
|
||||
dependencies:
|
||||
vite: 4.4.11
|
||||
vue: 3.3.4
|
||||
dev: true
|
||||
|
||||
/@vue/compiler-core@3.3.4:
|
||||
resolution: {integrity: sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g==}
|
||||
dependencies:
|
||||
|
@ -1043,10 +1047,6 @@ packages:
|
|||
readable-stream: 3.6.2
|
||||
dev: true
|
||||
|
||||
/body-scroll-lock@4.0.0-beta.0:
|
||||
resolution: {integrity: sha512-a7tP5+0Mw3YlUJcGAKUqIBkYYGlYxk2fnCasq/FUph1hadxlTRjF+gAcZksxANnaMnALjxEddmSi/H3OR8ugcQ==}
|
||||
dev: true
|
||||
|
||||
/brace-expansion@1.1.11:
|
||||
resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}
|
||||
dependencies:
|
||||
|
@ -2285,7 +2285,7 @@ packages:
|
|||
fsevents: 2.3.3
|
||||
dev: true
|
||||
|
||||
/vitepress-export-pdf@1.0.0-beta.0(esbuild@0.19.4)(vitepress@1.0.0-rc.4):
|
||||
/vitepress-export-pdf@1.0.0-beta.0(esbuild@0.19.4)(vitepress@1.0.0-rc.20):
|
||||
resolution: {integrity: sha512-DTI1A0ntWy08OXNWmwZC9lSEG69z/tTzng8MVwdvttG4mIHOrEwD9NUZucQPr6o5YgpWDIEsm/J92/Yt+/IgRg==}
|
||||
engines: {node: '>=14.6.0'}
|
||||
hasBin: true
|
||||
|
@ -2295,7 +2295,7 @@ packages:
|
|||
'@condorhero/vuepress-plugin-export-pdf-core': 3.0.2(esbuild@0.19.4)
|
||||
debug: 4.3.4
|
||||
hash-sum: 2.0.0
|
||||
vitepress: 1.0.0-rc.4(@algolia/client-search@4.20.0)(search-insights@2.8.3)
|
||||
vitepress: 1.0.0-rc.20(@algolia/client-search@4.20.0)(search-insights@2.8.3)
|
||||
transitivePeerDependencies:
|
||||
- bufferutil
|
||||
- encoding
|
||||
|
@ -2305,17 +2305,24 @@ packages:
|
|||
- utf-8-validate
|
||||
dev: true
|
||||
|
||||
/vitepress@1.0.0-rc.4(@algolia/client-search@4.20.0)(search-insights@2.8.3):
|
||||
resolution: {integrity: sha512-JCQ89Bm6ECUTnyzyas3JENo00UDJeK8q1SUQyJYou+4Yz5BKEc/F3O21cu++DnUT2zXc0kvQ2Aj4BZCc/nioXQ==}
|
||||
/vitepress@1.0.0-rc.20(@algolia/client-search@4.20.0)(search-insights@2.8.3):
|
||||
resolution: {integrity: sha512-CykMUJ8JLxLcGWek0ew3wln4RYbsOd1+0YzXITTpajggpynm2S331TNkJVOkHrMRc6GYe3y4pS40GfgcW0ZwAw==}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
markdown-it-mathjax3: ^4.3.2
|
||||
postcss: ^8.4.30
|
||||
peerDependenciesMeta:
|
||||
markdown-it-mathjax3:
|
||||
optional: true
|
||||
postcss:
|
||||
optional: true
|
||||
dependencies:
|
||||
'@docsearch/css': 3.5.2
|
||||
'@docsearch/js': 3.5.2(@algolia/client-search@4.20.0)(search-insights@2.8.3)
|
||||
'@vitejs/plugin-vue': 4.4.0(vite@4.4.11)(vue@3.3.4)
|
||||
'@types/markdown-it': 13.0.2
|
||||
'@vue/devtools-api': 6.5.0
|
||||
'@vueuse/core': 10.5.0(vue@3.3.4)
|
||||
'@vueuse/integrations': 10.5.0(focus-trap@7.5.3)(vue@3.3.4)
|
||||
body-scroll-lock: 4.0.0-beta.0
|
||||
focus-trap: 7.5.3
|
||||
mark.js: 8.11.1
|
||||
minisearch: 6.1.0
|
||||
|
|
Loading…
Reference in a new issue