Repository navigation
Mobile Markdown files should allow a configurable default view #9711
Replies: 2 comments
|
I am suffering from the same annoyance. 90% of the times I open a markdown file it is just for reading it and on both the web and the mobile apps there should be a setting to either set the default markdown opening mode: Preview / Source and maybe a third option that is to remember last used mode (each thread may have its own state but the last time the user switch between them can be saved and adopted as the last intent). The selector may present (Preview / Source / Last used) This makes sence as a global setting with project scoped override. Last state memory may be project scoped as well. |
Mobile: open plain Markdown report links in Preview by defaultProblemOn the physical iPhone app, tapping a Markdown report link in a conversation opens its Source view. Reading the formatted report requires opening the file menu and choosing Preview. This repeats for other Markdown reports. HTML reports open directly in Preview. Observed on T3 iOS 2.0.0 (122), October 13, 2026. Three Markdown reports were opened through conversation links on a physical phone, and all three rendered correctly after selecting Preview. This is physical-device evidence, not a simulator check. Reproduction
Requested behaviorOpen plain Markdown file links in Preview by default on mobile. Keep Source available from the file menu. Preserve Source navigation for links that explicitly target a line, so code-oriented inspection remains useful. Source evidenceAt commit This source finding matches the observed behavior. The installed app's exact JavaScript revision was not independently established. Acceptance checks
This request concerns the initial mobile reading view; it does not request a server lifecycle change or a new document storage system. |
Uh oh!
There was an error while loading. Please reload this page.
Proposal
Opening a Markdown file from the mobile Files viewer always starts in
Source, even though the file supports the renderedPreviewview. On a phone, the rendered view is much easier to read.Current behavior
When opening a
.mdfile on mobile, T3 Code starts inSource. The user can switch toPreviewmanually, but the choice is not persisted as a default.The mobile file route recognizes Markdown as preview-capable, but
defaultViewMode()selectspreviewonly for browser-preview files, images, and videos. Markdown therefore falls through tosource.Proposed behavior
Ideally, Markdown files should open in
Previewby default.At minimum, T3 Code Mobile should expose a persisted setting that lets the user choose the default mode for Markdown files:
PreviewSourceThe setting should apply whenever a Markdown file opens without an explicit mode override. The per-file
PreviewandSourceactions should continue to override it for the current file. Source-oriented files such as.pyshould continue to open inSource.Why
The rendered Markdown view is considerably easier to read on a phone. Starting in
Sourceadds an extra tap every time and makes the mobile file viewer feel less tailored to Markdown documents.This proposal follows closed issue #9474, which was redirected here by the maintainers.
This is separate from rendering bugs involving images, SVGs, or raw HTML inside an already-open Markdown preview.
All reactions