microsoft / microsoft/vscode

Markdown previewer sometimes incorrectly renders ranges of text in math mode

Open
#330,300 0 comments 0 reactions 1 assignee Claimed by @hediet View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Type: Bug

The following snippet of markdown seems well-formed:
```
- **idea -- re-derive the per-audio-hour rates on audio rather than connection time.**
`NETWORK_PER_AUDIO_HOUR` and `OVERHEAD_PER_AUDIO_HOUR` were calibrated as $ / `sum(duration_delta)`,
i.e. per connected hour. Re-basing them on `exact_dur_delta` leaves this projection's dollars
untouched (which is why `--audio-hours` does not do it) but makes the two envs' rates agree far
better -- egress 0.00149 vs 0.00138 $/audio-h against 0.00153 vs 0.00130 on the connection basis --
which is weak evidence that audio is the better physical basis. It matters when transferring a rate
to a different traffic mix, not when reproducing the invoice it came from.
```
but renders with the text following "were calibrated as" and stopping before to "0.00138/audio-h" as if it were a formula. Visually it looks like this (repeatable even after closing and reopening doc and restarting VS Code):

Image

The markdown snippet renders as I expect on markdownlivepreview.com.

VS Code version: Code 1.132.0 (df53daabb18cd157bdb08c7f01c34df936cf12f4, 2026-08-04T15:30:20Z)
OS version: Windows_NT x64 10.0.26200
Modes:
Remote OS version: Linux x64 6.18.33.2-microsoft-standard-WSL2
Remote OS version: Linux x64 6.18.33.2-microsoft-standard-WSL2

System Info

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) Ultra 7 155H (22 x 2995)|
|GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0x7d55 [Intel(R) Arc(TM) Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.8724 *ACTIVE*
GPU1: VENDOR= 0x10de, DEVICE=0x28a1 [NVIDIA GeForce RTX 4050 Laptop GPU], DRIVER_VERSION=32.0.15.9608
GPU2: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8875
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|31.46GB (3.30GB free)|
|Process Argv|--crash-reporter-id 5621fda7-0cd3-44ab-91eb-4ec705d24d86|
|Screen Reader|no|
|VM|0%|

|Item|Value|
|---|---|
|Remote|WSL: Ubuntu-22.04|
|OS|Linux x64 6.18.33.2-microsoft-standard-WSL2|
|CPUs|Intel(R) Core(TM) Ultra 7 155H (22 x 0)|
|Memory (System)|15.35GB (13.21GB free)|
|VM|0%|

|Item|Value|
|---|---|
|Remote|WSL: Ubuntu-22.04|
|OS|Linux x64 6.18.33.2-microsoft-standard-WSL2|
|CPUs|Intel(R) Core(TM) Ultra 7 155H (22 x 0)|
|Memory (System)|15.35GB (13.21GB free)|
|VM|0%|
Extensions (14)

Name|Identifier|Author|Version
---|---|---|---
Jupyter Keymap|ms-toolsai.jupyter-keymap|ms-toolsai|1.1.2
Remote - SSH|ms-vscode-remote.remote-ssh|ms-vscode-remote|0.124.0
Remote - SSH: Editing Configuration Files|ms-vscode-remote.remote-ssh-edit|ms-vscode-remote|0.87.0
WSL|ms-vscode-remote.remote-wsl|ms-vscode-remote|0.104.3
Remote Explorer|ms-vscode.remote-explorer|ms-vscode|0.5.0
Python Debugger|ms-python.debugpy|ms-python|2026.6.0
Python|ms-python.python|ms-python|2026.4.0
Python Environments|ms-python.vscode-python-envs|ms-python|1.36.0
Jupyter|ms-toolsai.jupyter|ms-toolsai|2025.9.1
Jupyter Keymap|ms-toolsai.jupyter-keymap|ms-toolsai|1.1.2
Jupyter Notebook Renderers|ms-toolsai.jupyter-renderers|ms-toolsai|1.3.0
Jupyter Cell Tags|ms-toolsai.vscode-jupyter-cell-tags|ms-toolsai|0.1.9
Jupyter Slide Show|ms-toolsai.vscode-jupyter-slideshow|ms-toolsai|0.1.6
Claude Sessions Explorer|shahadishraq.vscode-claude-sessions|ShahadIshraq|0.3.1

A/B Experiments

```
vsliv368:30146709
pythonvspyt551cf:31249601
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
4f60g487:31327383
envsactivate1:31551504
gh487529:31544284
cloudbuttont:31379625
3efgi100_wstrepl:31403338
56b7f661:31457055
ddidt:31399633
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
cp_cls_c_1081:31454833
conptydll_true:31498968
e9c30283:31461165
test_treatment2:31471001
46204921:31447328
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
chat:31457767
7e187181:31503455
ghj88844:31499326
ddid_t:31478206
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
db5d2638:31499441
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
cdk-lw-on:31524445
f9bf7985:31543584
a1ije391_t:31540920
hgf2d445:31529595
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_t_nes:31548657
d7b18187:31526828
ahp-both-windows:31556933
h561g132:31533256
sessions_5:31532894
hjji5903:31534458
f412h606:31551416
7g2b5551:31542111
5fe6f778:31554331
allow-none:31555437
6i51c363:31551401
c7c27ce7:31554789
8hc4g144:31558143
1532g621_copy:31554320
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
a1hcc538:31559322
vrbsty_fls:31561059
session-archive:31558132
4553j735_t_off:31563075

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.