Skip to content

Cannot view README/Markdown files in Preview view. #7657

@schwinbp

Description

@schwinbp

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Edge & Chrome
  • Local OS: Windows 11
  • Remote OS: Amazon Linux 2023
  • Remote Architecture: Linux
  • code-server --version:
    code-server: v4.108.2
    Code: 1.108.2
    Commit: 3c0b449
    Date: 2026-01-26T20:52:05.876Z (1 wk ago)
    Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36 Edg/144.0.0.0

Steps to Reproduce

  1. Open readme.md file
  2. Right-click on tab for file
  3. Select "Open Preview"
  4. See blank file

Expected

Should see markdown file in preview mode displaying proper fonts.

Actual

Blank file

Logs

Screenshot/Video

No response

Does this bug reproduce in native VS Code?

No, this works as expected in native VS Code

Does this bug reproduce in VS Code web?

I did not test VS Code web

Does this bug reproduce in GitHub Codespaces?

I did not test GitHub Codespaces

Are you accessing code-server over a secure context?

  • I am using a secure context.

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageThis issue needs to be triaged by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions