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

using with markdonw-it-attrs

Open basilgass opened this issue 2 years ago • 0 comments
trafficstars

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 !

basilgass avatar Jan 12 '23 07:01 basilgass