clan: implement OSC8 hyperlinks for help output
The name of the terminal help output stays the same to keep compatibility with legacy terminal implementations.
This commit is contained in:
@@ -105,8 +105,9 @@ def epilog_to_md(text: str) -> str:
|
||||
md += "\n"
|
||||
md += "\n"
|
||||
else:
|
||||
if contains_https_link(line):
|
||||
line = convert_to_markdown_link(line)
|
||||
# TODO: check, if the link is already a markdown link, only convert if not
|
||||
# if contains_https_link(line):
|
||||
# line = convert_to_markdown_link(line)
|
||||
md += line
|
||||
md += "\n"
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user