hackmdio / vscode-hackmd

The official HackMD VScode extension!
https://marketplace.visualstudio.com/items?itemName=HackMD.vscode-hackmd
MIT License
132 stars 14 forks source link

LaTeX equations break rendering #35

Open manifest opened 3 years ago

manifest commented 3 years ago

The following markdown is rendered without "-" list item marker.

List:
- a list item with $equation$.

Actual result:

Screen Shot 2020-10-10 at 23 15 05

Expected result:

Screen Shot 2020-10-10 at 23 15 47

HackMD VSCode extension version: 1.1.2 VSCode version: 1.50.0

manifest commented 3 years ago

Another example with LaTeX equations that breaks rendering:

One equation works just fine:

$f(x)$

Two equations in a row do not work:

$f(x)$, $f(x)$

Result:

Screen Shot 2020-10-12 at 23 27 53