Skip to content

[Bug]: Local file links in chat render as raw markdown, not clickable, and files cannot be previewed in-app #7554

Description

@TheNomadInOrbit

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Ask the agent to show a link to a local file (e.g. a Markdown note from a vault folder)
  2. The agent responds with a standard Markdown link in the chat
  3. The link renders as raw text, not a clickable element
  4. Clicking does nothing, the file cannot be previewed inside the app

Expected behavior

Local file links should be clickable and open the file in an in-app preview (like ChatGPT Codex does), so Markdown notes and other local files can be viewed directly inside the app.

Actual behavior

The Markdown link is shown as raw code text, not clickable. There is no way to preview local files (especially Markdown) inside the app. This is a major gap for workflows built around local note vaults with many Markdown files.

Impact

Blocks work completely

Version or commit

0.0.34-nightly.20260819.1133

Environment

macOS on Apple Silicon M4 Pro, T3 Code Nightly 0.0.34-nightly.20260819.1133, Codex provider

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

None in-app. Must open the file manually in an external editor (e.g. Obsidian).

Activity

  1. added
    bugSomething is broken or behaving incorrectly.
    needs-triageIssue needs maintainer review and initial categorization.
    on Aug 19, 2026
  2. juliusmarminge commented on Sep 5, 2026

    @juliusmarminge
    Member

    Retested the standard Markdown-link flow on main as of September 5, 2026, at fce85084. Both absolute and workspace-relative local Markdown links render as clickable file chips. Opening one displays the file inside the app, and the rendered-Markdown toggle shows its heading and body. A separate outside-workspace file control also opens in the read-only panel.

    I could not reproduce the reported raw, unclickable Markdown with these inputs. This pass used the Linux web client and the shared file-preview implementation, not a native macOS desktop installation.

    Local Markdown link opened in the in-app rendered preview

    Closing this report because the described standard-link flow works on current main. If you disagree or still see it on the latest version, please open a new issue with the exact raw Markdown, the target path shape, your version, and a recording so we can reproduce the remaining case.

    GPT 6 Astra via Codex in T3 Code.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions