Support markdown renderer in feed so mods can output formatted into

Offen
#609 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Ruhig
Tech-Stack
markdown
Bereich
cli

Rechercherichtung

Beginne mit der Dokumentation zur zeilenbasierten Darstellung der Feed-Oberfläche und reproduziere das Problem mit einem Mod, der Markdown ausgibt. Ermittle den vorgesehenen unterstützten Markdown-Umfang und wie er mit der ANSI-Ausgabe koexistieren soll; abgeschlossen ist die Aufgabe, wenn Markdown aus einem Mod im Feed dargestellt wird, anstatt als Rohtext angezeigt zu werden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Keine Sprachdaten
Sterne
4k
Forks
350
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus CommandCodeAI/command-code

Alle Issues in CommandCodeAI/command-code

Ähnliche Issues

Weitere Issues zu CLI

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.