tisonkun commented on code in PR #187:
URL: https://github.com/apache/pulsar-site/pull/187#discussion_r957944903


##########
site2/website-next/docusaurus.config.js:
##########
@@ -349,10 +349,17 @@ module.exports = {
       <p>Copyright © ${new Date().getFullYear()} The Apache Software 
Foundation. All Rights Reserved. Apache, Pulsar, Apache Pulsar, and the Apache 
feather logo are trademarks or registered trademarks of The Apache Software 
Foundation.</p>`,
     },
     prism: {
-      // theme: lightCodeTheme,
-      // darkTheme: darkCodeTheme,
       theme: require("prism-react-renderer/themes/dracula"),
-      additionalLanguages: ["powershell", "java", "go", "c", "cpp", "python"],
+      additionalLanguages: [
+        "csharp",
+        "groovy",
+        "java",
+        "ini",
+        "powershell",
+        "properties",
+        "protobuf",
+        "yaml",
+      ],

Review Comment:
   Related docusaurus guide:
   
   * 
https://docusaurus.io/docs/markdown-features/code-blocks#supported-languages
   * 
https://github.com/FormidableLabs/prism-react-renderer/blob/c1430679ee6cb0fb652d3a1b63f62f0c270ad631/src/vendor/prism/includeLangs.js
   * https://prismjs.com/#supported-languages



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to