This commit is contained in:
Will McGugan 2020-05-10 14:24:55 +01:00
parent 1a109b7ea5
commit 64e57aa8cd
2 changed files with 2 additions and 2 deletions

View File

@ -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]]] = {

View File

@ -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[/]")