-
- {tokens.map((line, lineIndex) => (
-
- {line
- .filter((token) => !token.empty)
- .map((token, tokenIndex) => (
-
- ))}
- {"\n"}
-
- ))}
-
-
+
+
+ {tokens.map((line, lineIndex) => (
+
+ {showLineNumbers && (
+
+ {lineIndex + 1}
+
+ )}
+ {line
+ .filter((token) => !token.empty)
+ .map((token, tokenIndex) => (
+
+ ))}
+ {"\n"}
+
+ ))}
+
+
+