Syntax highlighting: SQL #2063
Replies: 1 comment 2 replies
-
from rich import print
from rich.syntax import Syntax
print(Syntax("SELECT * FROM Customers WHERE CustomerID=1;", lexer="mysql", theme="monokai")) |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
mharig
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it planned? How may I help implementing it?
Beta Was this translation helpful? Give feedback.
All reactions