fix style

This commit is contained in:
Nachuan Tang
2022-07-03 16:14:59 -04:00
parent ad2d66ef27
commit 6f3e840683
+4 -4
View File
@@ -54,14 +54,14 @@ def rich_paring(data):
if len(ponetic.items()) > 0: if len(ponetic.items()) > 0:
for _, v in ponetic.items(): for _, v in ponetic.items():
v = v.replace('[', '\[').replace(']', ']') #v = v.replace('[', '\[').replace(']', ']')
console.print(v, style="yellow") console.print(Text(v, style="yellow"))
print() print()
if len(defs) > 0: if len(defs) > 0:
for k in defs: for k in defs:
console.print(k, style="green") console.print(Text(k, style="green"))
console.print(defs[k], style="cyan") console.print(Text(defs[k], style="cyan"))
print() print()
for s in samples[:2]: for s in samples[:2]: