mathpix-markdown-it icon indicating copy to clipboard operation
mathpix-markdown-it copied to clipboard

How to Render Multiple mjx-container Tags within a Single <span> Tag?

Open RookieGz opened this issue 1 year ago • 1 comments

Problem Description:

I'm trying to render LaTex formulas using mathpix-markdown-it. However, I'm facing an issue where I want to render multiple mjx-container tags within a single tag to enable line breaks for long formulas. Currently, I can only render the entire formula within one mjx-container. Below is the LaTex code I've tried:

LaTex $$ x> y>0 $$

However, this only renders within one mjx-container tag. I'm interested in knowing how to render "x>", "y>", and "0" separately within three independent mjx-container tags. Thank you!

Here's an example of the desired effect I've seen on other websites: 截屏2024-02-19 14 53 38

RookieGz avatar Feb 19 '24 06:02 RookieGz

I'm interested in knowing how to render "x>", "y>", and "0" separately within three independent mjx-container tags.

@RookieGz You can use inline math for it $x>$ $y>$ $0$ Screenshot 2024-04-23 at 09 41 44

OlgaRedozubova avatar Apr 23 '24 06:04 OlgaRedozubova