mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
typo and docstring
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user