CommandCodeAI / CommandCodeAI/command-code
Support markdown renderer in feed so mods can output formatted into
まだ誰も着手していません。
- 主要言語
- 言語のデータがありません
- スター
- 4k
- フォーク
- 350
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
フィードサーフェスの行ベースレンダリングに関するドキュメントから始め、markdownを出力するmodを使って問題を再現します。サポート対象として意図されているmarkdownの範囲と、ANSI出力とどのように共存すべきかを確認します。modからのmarkdownが生テキストとして表示されるのではなく、フィード内でレンダリングされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- markdown
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100