Skip to content

feat: Rich text formatting for Slack responses (SLACK-RICHTEXT) #223

Closed

Description

@pavshulin

Summary

Agent responses in Slack are currently sent as plain text. Use Slack Block Kit to render rich formatting — headers, bullet lists, code blocks, dividers, links.

Requirements

  • Convert agent markdown output to Slack Block Kit blocks
  • Support: headers, bold, italic, code inline/blocks, bullet lists, numbered lists, links, dividers
  • Handle long responses (Slack has 50-block limit per message — split if needed)
  • Graceful fallback: if conversion fails, send as plain text

Implementation Options

  1. Markdown → Block Kit converter — parse agent markdown and build Block Kit JSON
  2. Slack mrkdwn passthrough — Slack natively supports a subset of markdown (*bold*, _italic_, `code`). May be sufficient for most responses.
  3. Hybrid — use mrkdwn for simple responses, Block Kit for complex ones (tables, multi-section)

Acceptance Criteria

  • Code blocks render with proper formatting
  • Links are clickable
  • Lists render as bullet points
  • Long responses split across multiple messages if needed
  • No regression for simple text responses

Depends On

Activity

  1. added
    priority-p2
    type-feature
    on Mar 30, 2026
  2. added a commit that references this issue on Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority-p2type-feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions