mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 03:01:57 +02:00
More conf docs
Add a 🔗 role that works nicely in both contexts
This commit is contained in:
@@ -85,7 +85,7 @@ def merged_opts(all_options, opt, i):
|
||||
|
||||
|
||||
def remove_markup(text):
|
||||
return re.sub(r':(.+?):`(.+?)`', r'\2', text, flags=re.DOTALL)
|
||||
return re.sub(r':([a-zA-Z0-9]+):`(.+?)`', r'\2', text, flags=re.DOTALL)
|
||||
|
||||
|
||||
def render_block(text):
|
||||
|
||||
Reference in New Issue
Block a user