diff --git a/docs-app/vite.config.js b/docs-app/vite.config.js index 90bb638..6b64dd7 100644 --- a/docs-app/vite.config.js +++ b/docs-app/vite.config.js @@ -1,6 +1,7 @@ import { ember, extensions } from '@embroider/vite'; import { babel } from '@rollup/plugin-babel'; +import rehypeShiki from '@shikijs/rehype'; import { kolay } from 'kolay/vite'; import { defineConfig } from 'vite'; @@ -9,6 +10,18 @@ export default defineConfig(() => ({ ember(), kolay({ packages: ['@universal-ember/table'], + rehypePlugins: [ + [ + rehypeShiki, + { + themes: { + light: 'github-light', + dark: 'github-dark', + }, + defaultColor: 'light-dark()', + }, + ], + ], }), babel({ babelHelpers: 'runtime',