Module markdown

Source
Expand description

Markdown validation and sanitisation for coordination thread messages.

Provides utilities to construct properly formatted markdown from user-provided prose, escaping formatting characters that could interfere with message display. Headers and metadata are validated and formatted, while prose content is sanitised to prevent unintended markdown interpretation.

Structsยง

MarkdownService
Service for markdown validation and sanitisation.
Message
Generic message structure for parsing.
MessageMetadata
Represents a single message within a coordination thread with strong typing.