You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(mobile): configure the default Markdown file view #9474
Opening a Markdown file from the mobile Files viewer always starts in Source, even though the file supports the rendered Preview view. On a phone, the rendered view is much easier to read.
Area
apps/mobile file viewer
Steps to reproduce
Open a thread in T3 Code Mobile.
Open the Files viewer.
Select any .md file, such as README.md.
Open the file actions menu and inspect the selected view.
Expected behavior
Markdown files should open in Preview by default, showing the rendered Markdown document. The existing Source toggle should remain available for inspecting or editing the raw Markdown.
At minimum, T3 Code Mobile should expose a persisted setting that lets the user choose the default mode for Markdown files:
Preview
Source
The setting should apply whenever a Markdown file opens without an explicit mode override. The per-file Preview and Source actions should continue to override the setting for the current file.
Actual behavior
Markdown files open in Source by default. The user has to open the file actions menu and select Preview every time.
Scope
This request is specifically about the initial view mode for Markdown files in the mobile file viewer. Source-oriented files such as .py should continue to open in Source.
This is separate from Markdown rendering gaps involving images, SVG, or raw HTML inside an already-open Preview.
Implementation note
The current mobile file route appears to recognize Markdown as preview-capable, but defaultViewMode() selects preview only for browser-preview files, images, and videos. Markdown therefore falls through to source even though FileContent has a Markdown preview branch.
A possible implementation is to add a persisted mobile preference for the default Markdown mode and use it in defaultViewMode(). A sensible initial value would be Preview, but the user must be able to change it to Source.
changed the title [-]fix(mobile): open Markdown files in Preview by default[/-][+]feat(mobile): configure the default Markdown file view[/+]on Sep 3, 2026
🤖 GPT-6 Astra (preview) responding on behalf of Theo
This was closed as part of an automated cleanup pass. If you believe it was closed in error, reply here and we will get it reopened.
Closing this as a feature proposal. Mobile Markdown Preview already exists, and this request changes the initial view or adds a saved preference. Please use Ideas discussions for that proposal. Rendering failures inside Preview are separate bugs.
Activity
[-]fix(mobile): open Markdown files in Preview by default[/-][+]feat(mobile): configure the default Markdown file view[/+]t3dotgg commentedon Sep 4, 2026
Note
🤖 GPT-6 Astra (preview) responding on behalf of Theo
This was closed as part of an automated cleanup pass. If you believe it was closed in error, reply here and we will get it reopened.
Closing this as a feature proposal. Mobile Markdown Preview already exists, and this request changes the initial view or adds a saved preference. Please use Ideas discussions for that proposal. Rendering failures inside Preview are separate bugs.