docsify-katex
docsify-katex copied to clipboard
Bug report - some LaTex cannt render correctly.
Describe the bug Some LaTex can not render correctly. See https://xhqing.github.io/blog/#/post/%E6%A8%A1%E5%BC%8F%E8%AF%86%E5%88%AB%E4%B8%8E%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/%E4%B8%BB%E6%88%90%E5%88%86%E5%88%86%E6%9E%90%E5%8E%9F%E7%90%86%E8%AF%A6%E8%A7%A3
Mardown file at: https://github.com/xhqing/blog/blob/main/docs/post/%E6%A8%A1%E5%BC%8F%E8%AF%86%E5%88%AB%E4%B8%8E%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/%E4%B8%BB%E6%88%90%E5%88%86%E5%88%86%E6%9E%90%E5%8E%9F%E7%90%86%E8%AF%A6%E8%A7%A3.md
These can render correctly in Typora, Feichu Wiki and Yuque docs.
To Reproduce Steps to reproduce the behavior:
- Go to https://github.com/xhqing/blog
- git clone https://github.com/xhqing/blog.git
cd blogand thendocsify serve docs
Expected behavior A clear and concise description of what you expected to happen. Render correctly
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
- OS: [e.g. iOS] MacOS, Darwin Macs-Mac-mini.local 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64 x86_64
- Browser version: Version 105.0.5195.52 (Official Build) (x86_64)
- docsify version: docsify-cli version: 4.4.4
- docsify-katex version: latest
Additional context Add any other context about the problem here.
Could you please provide a minimal reproduce?
ok. minimal reproduce repo: https://github.com/xhqing/reproduce-blog
Bug Page: https://xhqing.github.io/reproduce-blog/#/post/%E6%A8%A1%E5%BC%8F%E8%AF%86%E5%88%AB%E4%B8%8E%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/%E4%B8%BB%E6%88%90%E5%88%86%E5%88%86%E6%9E%90%E5%8E%9F%E7%90%86%E8%AF%A6%E8%A7%A3
Bug file: https://github.com/xhqing/reproduce-blog/blob/main/docs/post/%E6%A8%A1%E5%BC%8F%E8%AF%86%E5%88%AB%E4%B8%8E%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/%E4%B8%BB%E6%88%90%E5%88%86%E5%88%86%E6%9E%90%E5%8E%9F%E7%90%86%E8%AF%A6%E8%A7%A3.md
Let me try 😁
origin markdown

delete the unnecessary blank line

Now, it works well
origin markdown
delete the unnecessary blank line
Now, it works well
Thank you so much.