Skip to content

Problem preview css not properly loaded in WSL #883

@Sam0523

Description

@Sam0523

🐛 Bug Report

When using via WSL, problem preivew page did not load markdown.css properly, which leads to incorrect font settings.

图片

Left side is the problem preview of this extension. It is obvious that the monospace font is ugly NSimSun.
Right side is a markdown preview, which is rendered as expected.

To Reproduce

  1. Connect VSCode to WSL.
  2. Install extension for WSL.
  3. Login and open arbitrary problem preivew.

Expected behavior

Problem preview page renders with same CSS of markdown.

Your Environment

  • os: Win11 + WSL2
  • extension settings: Mostly defaults
  • nodejs version: v20.2.0
  • vscode version: 1.78.2
  • extension version: v0.18.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions