github / markup

Determines which markup library to use to render a content file (e.g. README) on GitHub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some inline TeX not rendering

honglu2875 opened this issue · comments

In my repo, most of inline TeX did not render. For example, this one:

Screenshot from 2022-08-24 11-07-52

The tex syntax seems too simple to fail (I mean, what's wrong with $S$?). I tried to remove a few things around and it still baffles me... This paragraph has to be the first appearance of inline tex without having any bullet points above in order to render.

Did I make a mistake somewhere or is this a bug?

See #1584 (comment). It's a bug that recently popped up.

The rendering of mathematical formulas is currently very bad, with a lot of bugs, and even the most basic inline formulas have problems. See #1584 (comment)

Have anyone found the solution please?

I also encounter a similar problem when inline math expressions, which are enclosed between singular dollar signs $, will not render properly. Even though they look fine in markdown preview, they will not render when pushed to GIT repo.

I found that, if we use double dollar signs $$ and leave it inside a paragraph, it will render inline expressions properly. However, it doesn't render properly in markdown preview, which is hard to write long posts. This is really driving me crazy.