anki
anki copied to clipboard
Fix some bugs (Mainly string parsing)
- LaTeX curly brackets do not convert correctly #63
- a display error: when user sets the
saveStrategy
touseDirStructure
, the actual deck does not match the displayed deck when executing theSend To Deck
command - update docs
md file like this:
## test
$a=\{1,2\}$
$b=\#1$
$c=\&1$
$d=\_1$
$e=\$1$
$f=\%100$
before:
now:
now, line feed can be sent correctly to anki, but seems like that anki doesn't support it.
now, content like this can be sent correctly.
$$
\begin{align}
P ::&= P \\
&|\ \neg P \\
&|\ \top \\
&|\ \bot \\
&|\ P\backslash /P \\
&|\ P/\backslash P
\end{align}
$$
before:
now:
add some tests for this.
add some tests for this.
Thanks!!
But these tests don't seem very intuitive, because they can't show the final effect. I posted some screenshots in the comments above:)
But these tests don't seem very intuitive, because they can't show the final effect. I posted some screenshots in the comments above:)
What do you think we should do in this case? Should we keep them and use them as a quick sanity check or have a better way to test this? Its a very "visual" thing so i don't know of a better way to test it is working properly
I've updated the test of latex conversion, maybe this could be better.
fix: Send to DirName just creates a deck called 'deck/subdeck' #80
LGTM