Enable "pathlike" locations for the Markdown viewer

This commit is contained in:
Dave Pearson
2023-02-15 09:55:20 +00:00
parent 013f6cbc3f
commit 96a53d56d7
2 changed files with 4 additions and 4 deletions

View File

@@ -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: