added java syntax highlight

This commit is contained in:
Olivier Demers 2023-03-23 11:34:55 -04:00
parent c390c879a9
commit e82fc2441d

View File

@ -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,
// },
}),
};