mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-16 13:34:48 +02:00
Docs: Remove extra backslashes from commented config
Update docs to use \e in the example.
This commit is contained in:
@@ -113,6 +113,8 @@ def remove_markup(text: str) -> str:
|
||||
if key in ('ac', 'opt'):
|
||||
t, q = extract(m)
|
||||
return f'{t} {q}' if q and q != t else t
|
||||
if key == 'code':
|
||||
return m.group(2).replace('\\\\', '\\')
|
||||
|
||||
return str(m.group(2))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user