From b85ebb01fbf0ac220ad77055f4d0b73c57a52d50 Mon Sep 17 00:00:00 2001 From: Miles Johnson Date: Wed, 1 Nov 2023 16:44:25 -0700 Subject: [PATCH] Fix prism. --- website/docusaurus.config.ts | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index 565b3022ed7..9908a05f65d 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -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 = [ { @@ -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,