Environment
- opencode 1.18.21 (linux,
opencode serve on a remote VM), web app file viewer (opened via the file browser)
- reproduced from desktop and phone browsers
What happens
Opening a .md file from the file browser shows the raw markdown source text (headings, pipes, backticks as-is) — no rendered preview.
Expected
Markdown files render in the viewer (headings, lists, tables, code blocks), the way GitHub and most file viewers do. Raw source could stay available behind a toggle.
Use case
Reviewing agent-written docs/PRDs/changelogs is a core "check what the agent produced" flow, especially from a phone where reading raw markdown is painful. (Related narrow-viewport issue for the file browser itself: #48197.)
Happy to provide examples or test a fix if useful.
Environment
opencode serveon a remote VM), web app file viewer (opened via the file browser)What happens
Opening a
.mdfile from the file browser shows the raw markdown source text (headings, pipes, backticks as-is) — no rendered preview.Expected
Markdown files render in the viewer (headings, lists, tables, code blocks), the way GitHub and most file viewers do. Raw source could stay available behind a toggle.
Use case
Reviewing agent-written docs/PRDs/changelogs is a core "check what the agent produced" flow, especially from a phone where reading raw markdown is painful. (Related narrow-viewport issue for the file browser itself: #48197.)
Happy to provide examples or test a fix if useful.