Skip to content

Commit

Permalink
Fix prism.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Nov 1, 2023
1 parent 0fe69ee commit 8433219
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import path from 'path';
import type * as Preset from '@docusaurus/preset-classic';
import type { Config } from '@docusaurus/types';
// import prismTheme from './prism.config';
import prismTheme from './prism.config';

const social = [
{
Expand Down Expand Up @@ -197,9 +197,19 @@ const config: Config = {
copyright: `Copyright © ${new Date().getFullYear()}, moonrepo, Inc.`,
},
prism: {
// theme: prismTheme,
// darkTheme: prismTheme,
additionalLanguages: ['docker', 'twig', 'toml', 'rust', 'bash', 'diff', 'json', 'typescript'],
theme: prismTheme,
darkTheme: prismTheme,
additionalLanguages: [
'bash',
'diff',
'docker',
'json',
'markup-templating',
'rust',
'toml',
'twig',
'typescript',
],
},
} satisfies Preset.ThemeConfig,

Expand Down

0 comments on commit 8433219

Please sign in to comment.