markup icon indicating copy to clipboard operation
markup copied to clipboard

Some inline TeX not rendering

Open honglu2875 opened this issue 3 years ago • 3 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?

honglu2875 avatar Aug 24 '22 15:08 honglu2875

See https://github.com/github/markup/issues/1584#issue-1347876700. It's a bug that recently popped up.

devindg avatar Aug 24 '22 16:08 devindg

The rendering of mathematical formulas is currently very bad, with a lot of bugs, and even the most basic inline formulas have problems. See https://github.com/github/markup/issues/1584#issuecomment-1229224312

ghost avatar Aug 27 '22 16:08 ghost

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.

vydlt avatar Nov 15 '23 08:11 vydlt