mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Enable "pathlike" locations for the Markdown viewer
This commit is contained in:
@@ -12,7 +12,7 @@ class MarkdownApp(App):
|
||||
("f", "forward", "Forward"),
|
||||
]
|
||||
|
||||
path = var(str(Path(__file__).parent / "demo.md"))
|
||||
path = var(Path(__file__).parent / "demo.md")
|
||||
|
||||
@property
|
||||
def markdown_viewer(self) -> MarkdownViewer:
|
||||
|
||||
Reference in New Issue
Block a user