added java syntax highlight
This commit is contained in:
parent
c390c879a9
commit
e82fc2441d
@ -11,14 +11,6 @@ const config = {
|
|||||||
favicon: "img/favicon.ico",
|
favicon: "img/favicon.ico",
|
||||||
|
|
||||||
//themes: ["@docusaurus/theme-search-algolia"],
|
//themes: ["@docusaurus/theme-search-algolia"],
|
||||||
//themeConfig: {
|
|
||||||
// algolia: {
|
|
||||||
// appId: "",
|
|
||||||
// apiKey: "",
|
|
||||||
// indexName: "",
|
|
||||||
// contextualSearch: true,
|
|
||||||
// },
|
|
||||||
//},
|
|
||||||
|
|
||||||
// Set the production url of your site here
|
// Set the production url of your site here
|
||||||
url: "https://docs.pls5618.com",
|
url: "https://docs.pls5618.com",
|
||||||
@ -136,9 +128,16 @@ const config = {
|
|||||||
copyright: `Copyright © ${new Date().getFullYear()} PLS 5618. Fait avec Docusaurus.`,
|
copyright: `Copyright © ${new Date().getFullYear()} PLS 5618. Fait avec Docusaurus.`,
|
||||||
},
|
},
|
||||||
prism: {
|
prism: {
|
||||||
|
additionalLanguages: ["java"],
|
||||||
theme: lightCodeTheme,
|
theme: lightCodeTheme,
|
||||||
darkTheme: darkCodeTheme,
|
darkTheme: darkCodeTheme,
|
||||||
},
|
},
|
||||||
|
// algolia: {
|
||||||
|
// appId: "",
|
||||||
|
// apiKey: "",
|
||||||
|
// indexName: "",
|
||||||
|
// contextualSearch: true,
|
||||||
|
// },
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user