hackmdio / hackmdio/vscode-hackmd

Mathjax makes the closest bullet point disappears

Offen
#39 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
175
Forks
19
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

For example I have a markdown file:
```md
1. First point
2. Second point
3. Third point
4. Fourth point
$$
y=ax+b
$$
5. Fifth point
```

> What I expected to see:
> ![image](https://user-images.githubusercontent.com/35174145/100536302-a87ad600-325a-11eb-98c4-860409a2bfda.png)

> What actually rendered:
> ![image](https://user-images.githubusercontent.com/35174145/100536317-bdf00000-325a-11eb-8d72-3107ad11d945.png)

I've tried different combinations of indentation and I find out that this markdown renders what I expected:
```md
1. First point
2. Second point
3. Third point
4. Fourth point
4.
$$
y=ax+b
$$
5. Fifth point
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Reproduce the issue with the numbered-list Markdown example and compare the expected and actual screenshots. Start by locating the Markdown/MathJax rendering entry point, then verify the fix by confirming the list item remains visible when the indented display equation is present and add a regression test if the project has a relevant test area.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
markdown
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.