You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/08/30 02:16:35 UTC

[GitHub] [pulsar-site] tisonkun commented on a diff in pull request #187: [fix][site] turn on all related code highlight

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


##########
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:
   @dave2wave this change should be in this repo.
   
   I pull in other changes so that reviewers can easily preview the final result. We carry changes under `docs` to the main repo to prevent regression by synching.



-- 
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-unsubscribe@pulsar.apache.org

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