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
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
Connect VSCode to WSL.
Install extension for WSL.
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
The text was updated successfully, but these errors were encountered:
It seems that the extension load the css from a wrong domain:
It seems that the extension tries to load a file in WSL by a host domain (file%2B.vscode-resource.vscode-cdn.net).
The correct domain in my case is vscode-remote%2Bwsl-002bopensuse-002dtumbleweed.vscode-resource.vscode-cdn.net, which is obviously related to the WSL configuration.
🐛 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
Expected behavior
Problem preview page renders with same CSS of markdown.
Your Environment
The text was updated successfully, but these errors were encountered: