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

KaTeX math block with auto scaling will not align tags correctly #236

Open
yhatt opened this issue May 28, 2021 · 0 comments
Open

KaTeX math block with auto scaling will not align tags correctly #236

yhatt opened this issue May 28, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@yhatt
Copy link
Member

yhatt commented May 28, 2021

Reported in marp-team/marp#124.

the tag of a mathematic formula will cover the formula, can we solve it ?
Example, the formula is
$$
x^n+y^n=z^n \tag{1}
$$
the preview is
image

.tag class has styled by position: absolute. The parent container data-marp-fitting-svg-content for detecting the width before applying scale will not consider the width of tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant