Skip to content

Support markdown rendered in feed so mods can output formatted into #609

Description

@dthyresson

Summary

Am building a mod that renders schema db files and also displays table info.

I'd like to have the mod use a ui render that output markdown and the feed rendered it as such.

But any markdown generated is un-formatted:

Image

I'm told that:

⠶ The mod feed surface doesn't support markdown rendering — it's strictly line-based with ANSI escape codes. From the docs: "Rendering is deliberately line-based,
  not component-based." There's no way to render a markdown pipe table in the feed from a mod command. The compact per-column format with colored badges is the
  best that's possible on this surface.

There is a custom renderer so it can output ANSI like:

Image

But markdown could be nice or even larger reddened like Mermaid markdown for graphs and diagrams.

Expected Behavior

Markdown to look render markdown in feed

Actual Behavior

Just raw text

Steps to reproduce the issue

  • Build a mod that outputs markdown

Command Code Version

1.5.0

Operating System

macOS

Terminal/IDE

ghostty

Shell

zsh

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions