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

using with markdonw-it-attrs #45

Open
basilgass opened this issue Jan 12, 2023 · 0 comments
Open

using with markdonw-it-attrs #45

basilgass opened this issue Jan 12, 2023 · 0 comments

Comments

@basilgass
Copy link

Hi!

I'm trying to use markdown-it-texmath with markdown-it-attrs. But I can't apply the attribute to displayed math. Am I missing something ?

I tried these ways:

\[
f(x) = \sqrt{3x-2} + \frac{2}{x}
\]{.make-it-nice}

(adding a little space)

\[
f(x) = \sqrt{3x-2} + \frac{2}{x}
\] {.make-it-nice}

on the next line

\[
f(x) = \sqrt{3x-2} + \frac{2}{x}
\]
{.make-it-nice}

on two lines below (and even tried 3 lines)

\[
f(x) = \sqrt{3x-2} + \frac{2}{x}
\]

{.make-it-nice}

Notice that it is working correctly for inline math.

Thanks for your help !

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

1 participant