anomalyco / anomalyco/opencode

[FEATURE]: Render markdown files as preview in the file viewer

Open
#38,047 1 comment 1 reaction 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.