typo and docstring

This commit is contained in:
Will McGugan
2023-02-14 16:48:25 +00:00
parent 940783df4c
commit 5a730d7a0a
2 changed files with 2 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ Two tildes indicates strikethrough, e.g. `~~cross out~~` render ~~cross out~~.
### Inline code ### ### Inline code ###
Inline cod is indicated by backticks. e.g. `import this`. Inline code is indicated by backticks. e.g. `import this`.
## Fences ## Fences

View File

@@ -99,6 +99,7 @@ class Block(Static):
self.update(text) self.update(text)
async def action_link(self, href: str) -> None: async def action_link(self, href: str) -> None:
"""Called on link click."""
await self.post_message(Markdown.LinkClicked(href, sender=self)) await self.post_message(Markdown.LinkClicked(href, sender=self))