Semantic numbers in narration: bold yellow (bold alone was hard to see)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
a1fa75bf89
commit
a8c04311c0
@ -207,7 +207,7 @@ def _narration(msg: str) -> str:
|
|||||||
import re as _re0
|
import re as _re0
|
||||||
|
|
||||||
msg = _re0.sub(r'(?<![\w/%.])(\d+(?:/\d+)?)(?=[\s]|$)',
|
msg = _re0.sub(r'(?<![\w/%.])(\d+(?:/\d+)?)(?=[\s]|$)',
|
||||||
r'[bold]\1[/bold]', msg)
|
r'[bold yellow]\1[/bold yellow]', msg)
|
||||||
|
|
||||||
icon = ''
|
icon = ''
|
||||||
m = msg.lower()
|
m = msg.lower()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user