mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
No, I repeat, no abbreviations
This commit is contained in:
@@ -52,7 +52,7 @@ class ListViewExample(App):
|
||||
|
||||
class MarkdownExampleApp(App):
|
||||
def compose(self) -> ComposeResult:
|
||||
yield MarkdownViewer(EXAMPLE_MARKDOWN, show_toc=True)
|
||||
yield MarkdownViewer(EXAMPLE_MARKDOWN, show_table_of_contents=True)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
@@ -27,9 +27,9 @@ The following example displays Markdown from a string.
|
||||
|
||||
## Messages
|
||||
|
||||
### ::: textual.widgets.Markdown.TOCUpdated
|
||||
### ::: textual.widgets.Markdown.TableOfContentsUpdated
|
||||
|
||||
### ::: textual.widgets.Markdown.TOCSelected
|
||||
### ::: textual.widgets.Markdown.TableOfContentsSelected
|
||||
|
||||
### ::: textual.widgets.Markdown.LinkClicked
|
||||
|
||||
|
||||
@@ -27,9 +27,9 @@ The following example displays Markdown from a string and a Table of Contents.
|
||||
|
||||
## Reactive Attributes
|
||||
|
||||
| Name | Type | Default | Description |
|
||||
| ---------- | ---- | ------- | ----------------------------------------------------------------- |
|
||||
| `show_toc` | bool | True | Wether a Table of Contents should be displayed with the Markdown. |
|
||||
| Name | Type | Default | Description |
|
||||
| ------------------------ | ---- | ------- | ----------------------------------------------------------------- |
|
||||
| `show_table_of_contents` | bool | True | Wether a Table of Contents should be displayed with the Markdown. |
|
||||
|
||||
## See Also
|
||||
|
||||
|
||||
Reference in New Issue
Block a user