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 !
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:
(adding a little space)
on the next line
on two lines below (and even tried 3 lines)
Notice that it is working correctly for inline math.
Thanks for your help !