diff --git a/src/components/Prism/index.tsx b/src/components/Prism/index.tsx index 98010be56d..250f510b24 100644 --- a/src/components/Prism/index.tsx +++ b/src/components/Prism/index.tsx @@ -16,20 +16,22 @@ const Basic = ({ code, language }: Props) => ( Prism={Prism} > {({ className, tokens, getLineProps, getTokenProps }: any) => ( -
-        {tokens.map((line, i) => {
-          if (line.length === 1 && line[0].content === "") {
-            line[0].content = " "
-          }
-          return (
-            
- {line.map((token, key) => ( - - ))} -
- ) - })} -
+ +
+          {tokens.map((line, i) => {
+            if (line.length === 1 && line[0].content === "") {
+              line[0].content = " "
+            }
+            return (
+              
+ {line.map((token, key) => ( + + ))} +
+ ) + })} +
+
)} )