Skip to content

Slack replies break markdown pipe tables #1705

Description

@sentry-junior

Markdown pipe tables in assistant Slack replies render as broken/plain text instead of a compact table.

Example

Verified

  • Delivery runs model markdown through normalizeSlackReplyMarkdownensureBlockSpacing in packages/junior/src/chat/slack/mrkdwn.ts.
  • ensureBlockSpacing inserts a blank line between consecutive non-empty non-list lines, and only keeps adjacent lines compact for list items.
  • Pipe-table rows (| ... |) are not treated as a compact block, so a multi-row table becomes blank-line-separated rows before Slack delivery.
  • Unit coverage in packages/junior/tests/unit/misc/output.test.ts exercises list/prose spacing, not markdown tables.

Unknown

  • Whether Slack markdown_text / { type: "markdown" } would render contiguous pipe tables correctly if row adjacency were preserved, or whether tables need a different delivery shape entirely.

Requested by Matt Quinn.

--

View Junior Session [Sentry]

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions