diff --git a/.vuepress/config.js b/.vuepress/config.js index 8a9fa50ec7..8548d6f0c4 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',