Microsoft/vscode

Wrong LaTeX highlighting in markdown

Open

#223.545 aberto em 24 de jul. de 2024

Ver no GitHub
 (1 comment) (0 reactions) (1 assignee)TypeScript (10.221 forks)batch import
bughelp wantedmarkdown-ext

Métricas do repositório

Stars
 (74.848 stars)
Métricas de merge de PR
 (Mesclagem média 11h 43m) (1.000 fundiu PRs em 30d)

Description

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:

Guia do colaborador