Skip to main content
Use markdown() when you want to send styled text written in standard markdown. Spectrum supports CommonMark plus GFM tables and strikethrough. Each platform renders markdown to its native format. Telegram uses parse_mode: "HTML". iMessage in remote mode uses UTF-16 styled text formatting ranges. Platforms without native markdown support receive readable plain text through the send pipeline’s automatic fallback.

Streaming markdown

markdown() accepts a , just like text(). Markdown streams render progressively on platforms with native support. Everywhere else, the accumulated text falls back through the markdown pipeline instead of surfacing raw ** markers.
Markdown is outbound-only by design. Inbound messages always surface as text content regardless of platform formatting.