Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RookieGz opened this issue Feb 19, 2024 · 1 comment
Open

Comments

@RookieGz
Copy link

RookieGz commented Feb 19, 2024

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

@OlgaRedozubova
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants