mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Handle <> inside :ref: on the CLI
This commit is contained in:
@@ -149,6 +149,11 @@ def doc(x: str) -> str:
|
||||
return website_url(x)
|
||||
|
||||
|
||||
@role
|
||||
def ref(x: str) -> str:
|
||||
return re.sub(r'\s*<.+?>', '', x)
|
||||
|
||||
|
||||
OptionSpecSeq = List[Union[str, OptionDict]]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user