Long math equations overflow the page
Opened this issue · 2 comments
TomBener commented
Hello,
I use markdown-it-katex to add math equations for my blog powered by VuePress. But when the equation is longer than the size of screen (especially on the mobile phone), it will overflow the page, which looks very weird.
I have noticed that many sites's math equations are able to swipe left like the code block to prevent the equations from overflowing the page. I wonder whether markdown-it-katex supports this feature?
Thanks a lot!
MicroDroid commented
I got it to wrap properly using some white-space: normal
and text-overflow: wrap
stuffs.
MakerGYT commented
I also have this problem, This is a problem with multi-line equations without line breaks.
You can try markdown-it-latex2img