Skip to content

Feature: Support @mentions and HTML formatting #20

@steveclarke

Description

@steveclarke

Summary

Port the {{@Username}} mention syntax and HTML formatting support from the MCP server to the Ruby CLI.

Background

The TypeScript MCP server (mcp-superthread-plus) already implements this feature. SuperThread comments and checklist items support:

  1. HTML formatting - <strong>, <em>, <code>, <ul>, <blockquote>, etc.
  2. @mentions - Using {{@Username}} syntax that converts to <user-mention> HTML tags

Applies To

  • Comments (content)
  • Replies (content)
  • Checklist item titles

Implementation

The MCP server has a formatMentions() utility in src/utils.ts that:

  1. Looks up workspace members by name
  2. Converts {{@Username}} to <user-mention data-type="mention" user-id="..." ...>
  3. Supports escaping with \{{@Name}} for literal output

References

  • MCP server implementation: mcp-superthread-plus/src/utils.ts (lines 135-239)
  • Item 16 in notes/manual-integration-testing.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions