mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-24 09:18:08 +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)
|
return website_url(x)
|
||||||
|
|
||||||
|
|
||||||
|
@role
|
||||||
|
def ref(x: str) -> str:
|
||||||
|
return re.sub(r'\s*<.+?>', '', x)
|
||||||
|
|
||||||
|
|
||||||
OptionSpecSeq = List[Union[str, OptionDict]]
|
OptionSpecSeq = List[Union[str, OptionDict]]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user