Latex math formulas with indentation render incorrect #149565
Replies: 2 comments
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
It looks like the issue is related to how GitHub's Markdown parser handles LaTeX blocks with indentation. In some Markdown processors, extra indentation can cause the block to be treated as regular text instead of a math block. Since you don't want to use $$\, one workaround is to ensure that the LaTeX block is not indented under the list item. Try this format instead:*
This should render correctly in GitHub's preview. If the issue persists, consider checking GitHub's Markdown documentation or opening a support ticket for further clarification. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
I used to write the note with markdown. But I got some problem when using the preview.
When I write the block latex with indentation, it renders wrong. But I don' t want to write
$$\\
to solve the problem, since the other compiler could not to recognize$$\\
.Case 1: OK
use the
preview
and it looks right,ssss
ffff$inside$
Case 2: wrong
use the
preview
and it looks like,ssss
ffff$inside$
fff
$$
block
$$
Beta Was this translation helpful? Give feedback.
All reactions