yr.markdown
markdown(
content: str | None = None,
) → MarkdownStreamRender a markdown block.
Can be called directly to emit a single block, or used as a stream handle to append further chunks over time.
Parameters
content
type: str | None = None
If provided, immediately emits this markdown content.
Returns
type: MarkdownStream
A MarkdownStream handle whose append and new_line methods add further chunks to the same block.