mirror of https://github.com/Textualize/rich.git
docs
This commit is contained in:
parent
1a109b7ea5
commit
64e57aa8cd
|
@ -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]]] = {
|
||||
|
|
|
@ -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[/]")
|
||||
|
||||
|
|
Loading…
Reference in New Issue