Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

added support for php highlighting

Blue Mousea82c098daeea
diff --git a/docusaurus.config.js b/docusaurus.config.js
index d2a90aad1..a6093c35b 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -102,10 +102,11 @@ module.exports = {
apiKey: '4571f2913147bee4d59f82805c995d52',
indexName: 'swetrix',
},
- // prism: {
- // theme: lightCodeTheme,
- // darkTheme: darkCodeTheme,
- // },
+ prism: {
+ additionalLanguages: ['php'],
+ // theme: lightCodeTheme,
+ // darkTheme: darkCodeTheme,
+ },
},
presets: [
[