-
Notifications
You must be signed in to change notification settings - Fork 61
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
Fixing mustache tags and comments (back template has a problem) #56
Comments
had the same problem, have you found the solution yet? |
had the same problem too |
I had the same issue. I just deleted '{{! Anki only}}' and it did the job |
For an explanation: up until last year, probably 2.1.28, anki used a tool called mustache, and "{{!foo}}" was interpreted as a comment. |
Note that |
Would fixing this be as simple as removing the use of |
Some useful notes for later:
Also I'm getting bugged about automatic pull requests (the only one that seems worth it is this one): And a good article on npm commands for moustache, using a json file to populate the templates: I've been incommunicado for a good while, and it seems like there's been quite a few changes that I'll get around to looking at in the future. However, I haven't used Anki in about 4 years, and I'm not coding other than as a hobby, really. I'll take a look at some simple changes soon, but there's a few annoying bugs which might be harder to fix. |
Also please see this issue as another example of Dependency Hell :( |
@Arthur-Milchior @peter-moran @kayx23 @readybuilderone If you guys are still interested, there should be some changes coming out soon (once I've tested things on Anki app) — the one thing I haven't figured out yet is why Anki throws errors on the Cloze fields (although creating a new card doesn't seem to be a problem). As for editing your color themes, hopefully this page and this advanced documentation (plus links to Github issues) will go a long way to making the build process easier to understand? Let me know if you have any suggestions. Thanks 👍 |
@Arthur-Milchior @peter-moran @kayx23 @readybuilderone One thing that would be extremely helpful is if you could send me over a couple of decks using Anki Themes — I've just logged into Ankiweb and realised ALL my old cards have vanished. 🤔 |
Sorry I haven't been using Anki for a while and lost track of what this was about. Hope the others can assist! |
iirc I've modified the decks a bit locally over time (love the theme though), but here are 100 random notes from my deck https://drive.google.com/file/d/1BIqmv_vIvS5E6bltLRErJjrU1ML_jJCN/view?usp=share_link |
@peter-moran That's perfect thank you. Would you mind giving me a quick overview of the changes you made? It seems like you're using both the first and second version of Anki themes and:
When you uploaded the second version of Anki, did you have any problems with compatibility? Any error messages like below? I can't remember if I created brand new Note Type or not. |
@kayx23 That's no problem! I hope it helped you out when you did use it. You've actually had a very interesting career path, would you mind me connecting on LinkedIn? I might have a couple of DM questions :) |
@badlydrawnrob I don't mind, happy to connect :) |
A fix is coming in the next release. Thanks for being patient. |
This is now fixed in the latest release |
Hello there,
I downloaded and opened the .apkg. The two cards were imported into "Themes" but when I tried to view the cards, they show
Is there anything I can do to fix it?
Thanks!
The text was updated successfully, but these errors were encountered: