yera.events.blocks.markdown
Markdown block implementation.
Symbols
MarkdownStream
Inherits:
_StreamHandleStream handle for creating multiple chunks of the same markdown block.
Methods
MarkdownStream.__enter__
__enter__()MarkdownStream.__exit__
__exit__(
exc_type: type[BaseException],
exc_value: BaseException | None,
traceback: TracebackType,
)MarkdownStream.append
append(
content: str,
) → NoneAppend a new chunk to this markdown block.
MarkdownStream.new_line
new_line(
content: str,
) → NoneAppend a new line to this markdown block.