Skip to content

Commit

Permalink
oh no, it wasn't wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Jun 25, 2024
1 parent b4eee4c commit fd863c3
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions docs-app/app/routes/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,20 @@ export default class ApplicationRoute extends Route {
kolay: import('kolay'),
},
rehypePlugins: [
rehypeShikiFromHighlighter,
highlighter,
{
defaultColor: colorScheme.current === 'dark' ? 'dark' : 'light',
themes: {
light: 'github-light',
dark: 'github-dark',
// @shikijs/rehype
[
rehypeShikiFromHighlighter,
// Options for @shikijs/rehype-
// https://shiki.matsu.io/packages/rehype#fine-grained-bundle
highlighter,
{
defaultColor: colorScheme.current === 'dark' ? 'dark' : 'light',
themes: {
light: 'github-light',
dark: 'github-dark',
},
},
},
],
],
});

Expand Down

0 comments on commit fd863c3

Please sign in to comment.