Microsoft/vscode

Wrong LaTeX highlighting in markdown

Open

#223.545 aperta il 24 lug 2024

Vedi su GitHub
 (1 commento) (0 reazioni) (1 assegnatario)TypeScript (10.221 fork)batch import
bughelp wantedmarkdown-ext

Metriche repository

Star
 (74.848 star)
Metriche merge PR
 (Merge medio 11h 43m) (1000 PR mergiate in 30 g)

Descrizione

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.91.1
  • OS Version: macOS Sonoma 14.4.1

Steps to Reproduce:

  1. Create a md document and copy the following:

$\mu = e^{\mu_L + \sigma_L^2} \land \sigma_2 = (e^{\sigma_L^2} - 1) e^{2\mu_L + \sigma_L^2}$

$\mu = e^{\mu_L + \sigma_L^2}
 \land \sigma_2 = (e^{\sigma_L^2} - 1) e^{2\mu_L + \sigma_L^2}$

$$\mu = e^{\mu_L + \sigma_L^2}
 \land \sigma_2 = (e^{\sigma_L^2} - 1) e^{2\mu_L + \sigma_L^2}$$

- $\mu = e^{\mu_L + \sigma_L^2} \land \sigma_2 = (e^{\sigma_L^2} - 1) e^{2\mu_L + \sigma_L^2}$

- $\mu = e^{\mu_L + \sigma_L^2}
 \land \sigma_2 = (e^{\sigma_L^2} - 1) e^{2\mu_L + \sigma_L^2}$

- $$\mu = e^{\mu_L + \sigma_L^2}
 \land \sigma_2 = (e^{\sigma_L^2} - 1) e^{2\mu_L + \sigma_L^2}$$

x $\mu = e^{\mu_L + \sigma_L^2} \land \sigma_2 = (e^{\sigma_L^2} - 1) e^{2\mu_L + \sigma_L^2}$

x $\mu = e^{\mu_L + \sigma_L^2}
 \land \sigma_2 = (e^{\sigma_L^2} - 1) e^{2\mu_L + \sigma_L^2}$

x $$\mu = e^{\mu_L + \sigma_L^2}
 \land \sigma_2 = (e^{\sigma_L^2} - 1) e^{2\mu_L + \sigma_L^2}$$
  1. This is how it looks:

Guida contributor