Skip to content

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

Description

@LeoNardo-LB

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).

Activity

github-actions commented on Jul 21, 2026

@github-actions
Contributor

This issue might be a duplicate of an existing issue. Please check:

github-actions commented on Sep 21, 2026

@github-actions
Contributor

To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions