From f22d7e2fd0242563ab8d780159340270eaa5b170 Mon Sep 17 00:00:00 2001 From: Artem Pianykh Date: Fri, 12 Jun 2020 08:31:05 -0700 Subject: [PATCH] [docs] Enable Java syntax highlighting on website Summary: Java is not enabled by default in Prism (docusaurus's syntax highlighter). Let's fix that. Reviewed By: jvillard Differential Revision: D22019432 fbshipit-source-id: cc624fd08 --- website/docusaurus.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index ed818bcf0..ca22b2b22 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -72,6 +72,9 @@ module.exports = { ], copyright: `Copyright © ${new Date().getFullYear()} Facebook, Inc. Built with Docusaurus.`, }, + prism: { + additionalLanguages: ['java'], + }, }, presets: [ [