From 300bf3c2424408af4bdacc04bab675dec5ce6c6d Mon Sep 17 00:00:00 2001 From: NotTheDr01ds <32344964+NotTheDr01ds@users.noreply.github.com> Date: Fri, 27 Dec 2024 23:53:58 -0500 Subject: [PATCH] Disable PrismJS --- .vuepress/config.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.vuepress/config.js b/.vuepress/config.js index 2fd8651aa77..618fd5bd568 100755 --- a/.vuepress/config.js +++ b/.vuepress/config.js @@ -103,11 +103,15 @@ export default defineUserConfig({ handleImportPath: (str) => str.replace(/^@snippets/, path.resolve(__dirname, '../snippets')), }, + highlighter: 'shiki', }, // without this, we attempt to prefetch the whole site 😬 shouldPrefetch: false, colorMode: 'auto', theme: defaultTheme({ + markdown: { + highlighter: 'shiki', + }, repo: 'nushell/nushell', repoLabel: 'GitHub', editLinks: true, @@ -173,9 +177,7 @@ export default defineUserConfig({ }, }, themePlugins: { - prismjs: { - lineNumbers: 10, - }, + prismjs: false, }, }), plugins: [ @@ -190,9 +192,10 @@ export default defineUserConfig({ }, }), shikiPlugin({ - theme: 'dark-plus', + theme: 'vitesse-dark', lineNumbers: 10, langs: [ + 'csv', 'nushell', 'rust', 'bash',