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 duplicates text #20

Closed
MurelloS opened this issue May 1, 2020 · 3 comments
Closed

Katex duplicates text #20

MurelloS opened this issue May 1, 2020 · 3 comments

Comments

@MurelloS
Copy link

MurelloS commented May 1, 2020

I used the library 3 weeks ago, and it worked very well.
I started refactoring, updated libraries, and there was a problem.
Katex parameters are duplicated as text.

<span class="katex">
    <span class="katex-mathml"></span>
    <span class="katex-html" aria-hidden="true"></span>
</span>

it turns out that something like this ABCABC

@MurelloS
Copy link
Author

MurelloS commented May 1, 2020

Screenshot_1

@goessner
Copy link
Owner

goessner commented May 1, 2020

This effect most likely occurs because of missing / invalid css styles. Please ensure to have access to

  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex/dist/katex.min.css">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/markdown-it-texmath/css/texmath.min.css">

or their local (full) counterparts.

@goessner
Copy link
Owner

goessner commented May 6, 2020

... assuming to be resolved ...

@goessner goessner closed this as completed May 6, 2020
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