From 45c763181bb968aa180f306cb1f68f7b5f8aebdf Mon Sep 17 00:00:00 2001 From: Helder Sepulveda Date: Sat, 23 Mar 2024 19:48:00 -0400 Subject: [PATCH] disable minimap and set theme to dark --- src/core/syntax-highlighting.js | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/core/syntax-highlighting.js b/src/core/syntax-highlighting.js index b1d819ef109..db26738877d 100644 --- a/src/core/syntax-highlighting.js +++ b/src/core/syntax-highlighting.js @@ -60,7 +60,8 @@ const options = { lightbulb: { enabled: false }, renderValidationDecorations: "off", renderWhitespace: "all", - quickSuggestions: false + quickSuggestions: false, + minimap: { enabled: false }, } export function SyntaxHighlighter({language, className, style, code}) { @@ -100,6 +101,15 @@ export function SyntaxHighlighter({language, className, style, code}) { } } - return (); + return ( + + ); } \ No newline at end of file