From 64e57aa8cdf1d3a2628af28230dfa44a8282c488 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Sun, 10 May 2020 14:24:55 +0100 Subject: [PATCH] docs --- rich/markdown.py | 2 +- rich/markup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rich/markdown.py b/rich/markdown.py index a6d6eea6..7a6c5238 100644 --- a/rich/markdown.py +++ b/rich/markdown.py @@ -369,7 +369,7 @@ class Markdown: code_theme (str, optional): Pygments theme for code blocks. Defaults to "monokai". justify (JustifyValues, optional): Justify value for paragraphs. Defaults to None. style (Union[str, Style], optional): Optional style to apply to markdown. - hyperlinks (bool, optional): Enable hyperlinks. Defaults to ``True`` + hyperlinks (bool, optional): Enable hyperlinks. Defaults to ``True``. """ elements: ClassVar[Dict[str, Type[MarkdownElement]]] = { diff --git a/rich/markup.py b/rich/markup.py index 65969f95..78129ccb 100644 --- a/rich/markup.py +++ b/rich/markup.py @@ -146,7 +146,7 @@ if __name__ == "__main__": # pragma: no cover # print(repr(t._spans)) console.print("foo") - console.print('Hello [link="https://www.willmcgugan.com"]W[b]o[/b]rld[/]!') + console.print("Hello [link=https://www.willmcgugan.com]W[b]o[/b]rld[/]!") # console.print("[bold]1 [not bold]2[/] 3[/]")