CommandCodeAI / CommandCodeAI/command-code
Support markdown renderer in feed so mods can output formatted into
Nessuno ha ancora preso questa issue.
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 4k
- Fork
- 350
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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:
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:
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia dalla documentazione sul rendering basato sulle righe della superficie del feed e riproduci il problema usando un mod che emetta markdown. Determina l’ambito previsto del markdown supportato e come debba coesistere con l’output ANSI; il lavoro è completato quando il markdown proveniente da un mod viene visualizzato nel feed invece di essere mostrato come testo grezzo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- markdown
- Ambito
- cli
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100