From e82fc2441d9403bc5c0a9de12dca82dcfb33d7b8 Mon Sep 17 00:00:00 2001 From: Olivier Demers Date: Thu, 23 Mar 2023 11:34:55 -0400 Subject: [PATCH] added java syntax highlight --- docusaurus.config.js | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 2a40a7d..0439881 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -11,14 +11,6 @@ const config = { favicon: "img/favicon.ico", //themes: ["@docusaurus/theme-search-algolia"], - //themeConfig: { - // algolia: { - // appId: "", - // apiKey: "", - // indexName: "", - // contextualSearch: true, - // }, - //}, // Set the production url of your site here url: "https://docs.pls5618.com", @@ -136,9 +128,16 @@ const config = { copyright: `Copyright © ${new Date().getFullYear()} PLS 5618. Fait avec Docusaurus.`, }, prism: { + additionalLanguages: ["java"], theme: lightCodeTheme, darkTheme: darkCodeTheme, }, + // algolia: { + // appId: "", + // apiKey: "", + // indexName: "", + // contextualSearch: true, + // }, }), };