Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

Need Mathjax Block support on Front/Back notes #23

Closed
tenheadedlion opened this issue Jun 17, 2021 · 3 comments
Closed

Need Mathjax Block support on Front/Back notes #23

tenheadedlion opened this issue Jun 17, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@tenheadedlion
Copy link

Hello, thanks for the project!

I tried Mathjax block in front/back notes and saw Anki desktop didn't render the right symbols:

In the markdown I wrote:

1. MathTest1

> $X^{2}$

2. MathTest2

> $$
> X^{2}
> $$

Anki desktop rendered MathTest1 rightly, the Back textbox of the Anki Browse showed the following content:

\(X^{2}\)

As with MathTest2, Anki desktop showed X^{2} with this block on the textbox:

\(\)

X^{2}

\(\)

After I modified the textbox as follows, Anki rendered it rightly:

\(
x^{2}
\)

By the way, this is a very good tool!

@salkrr
Copy link
Owner

salkrr commented Jun 17, 2021

Hi, thanks for the bug report and kind words. I will try to fix this shortly.

@salkrr salkrr added the bug Something isn't working label Jun 17, 2021
@salkrr salkrr closed this as completed in eb646c2 Jun 17, 2021
@salkrr
Copy link
Owner

salkrr commented Jun 17, 2021

@tenheadedlion I fixed it in the new release. You need to upgrade your version with pip install --upgrade inka.

@tenheadedlion
Copy link
Author

@lazy-void I updated and it works nicely. Thanks for fixing this!

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

No branches or pull requests

2 participants