walkccc / CLRS

📚 Solutions to Introduction to Algorithms Third Edition
https://walkccc.me/CLRS
MIT License
4.62k stars 1.25k forks source link

Markdown render error - problems 1-1, 3-2, 3-6 #478

Closed PaiZuZe closed 1 year ago

PaiZuZe commented 1 year ago

There seems to be some problem with the markdown of these pages 1-1.md, 3-2.md and 3-6.md.

This render problem appears on both Firefox and Chromium, though on vscode markdown preview it renders with no problem.

Screenshot_20230427_120451

The issue seems to happen every time a double line space (\\\\) is followed by a \hline.

Replacing the \\\\ for \newline\newline seems to fix the error as can be seen here.

Removing one of the line breaks also seems to work as showed in this PR by @Umesh-Kumar-01.

walkccc commented 1 year ago

Hi @PaiZuZe,

Initially, GitHub does not support TeX. Therefore, those math equations are not correctly rendered because they are written to be rendered for Mkdocs. Could you please redirect to this built page to see if it works for you?

PaiZuZe commented 1 year ago

No errors message on the site.

Screenshot_20230512_112454

If you compare the render of the website with my fix here , It seems like only one line break is begin rendered.

If the intended way of seeing the pages is through the https://walkccc.me and not the GitHub repo I guess there is no problem to fix. Feel free to close the issue