CommandCodeAI / CommandCodeAI/command-code
Support markdown renderer in feed so mods can output formatted into
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 4k
- Forks
- 350
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the feed surface's line-based rendering documentation and reproduce the issue using a mod that emits markdown. Determine the intended supported markdown scope and how it should coexist with ANSI output; done means markdown from a mod is rendered in the feed rather than shown as raw text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- markdown
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100