Skip to content

Commit

Permalink
Fix prism.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Nov 2, 2023
1 parent f303cae commit b85ebb0
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 b85ebb0

Please sign in to comment.