anomalyco / anomalyco/opencode
[FEATURE]: Render markdown files as preview in the file viewer
@Hona is already working on this.
Since Jul 21, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
When opening a .md file in the web/desktop file viewer (the session file tab), it's always shown as raw source — so README, AGENTS.md, docs and instructions display as #, **, [text](url) instead of rendered content.
Markdown is everywhere in the opencode ecosystem (README, AGENTS.md, instructions, custom commands, plans), so reading raw syntax for these is a poor experience.
It would be great if .md/.markdown files could be rendered as a rich-text preview in the file viewer, with a toggle to switch back to source (so line-level comments on the raw source still work).
Contributor guide
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.
Assessment
This issue has not been assessed yet.