-
Notifications
You must be signed in to change notification settings - Fork 2
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
Some Flashcards are not added, even though I don't have any errors in Obsidian Console #201
Comments
Share the Obsidian file also, whos cards are not added. Also the file for which the cards are added. Share your anki showing the cards which are added and show that some cards are not added. |
Unfortunately I can't give you a whole file. It contains confidential information But I can give you the selected ones. The ones not added:
The ones added:
|
I've checked the whole file Many of my cards didn't have But there are plenty of other cards that were not added |
Yeah, Doing it and dividing this huge file into 8 smaller ones fixes the issue, and adds the remaining 200 flashcards But this solution doesn't satisfy me :/ |
Thats not a solution, but to solve it properly you need to provide more information. Atleast not the content, how big is the file ? Its size and content length ? |
It has 12506 words |
Hi, I have the same issues with my regex. I'm using a dedicated callout since a few years:
For some of my cards it works for some not and I do not see a pattern... This is my regex which I use for a few years now (stopped creating cards about a year ago...) (?:> [!Anki]) ([^\n]+)\n(.+(?:\n(?:^.{1,3}$|^.{4}(?<!<!--).))) |
I've also splitted my file into smaller pieces and can confirm that this fixed my issues for the small files with not more than 13 cards to add. In my main file where 31 cards needs to be added 19 in the middle are missing. All caches have been cleared before. |
whats the size of your note ? Character length, Can you upload your whole note file @basti-who |
anki_withIDs.md Both are really small with around 6KB. I've cleaned up one of them (anki_withoutIDs) so you can use it for debugging. After the clean up I've tried to run it again (to be added on a different deck in Anki) and the result can be seen in anki_withIDs.md. I'm using the Basic Notetype (Back, Front) with the regex:
|
Flashcards are not added, even though I don't have any errors in Obsidian Console
Just to be clear, I didn't installed your version/fork of the plugin - Is it possible to do that from Obsidian GUI?
I use a specific regex expression:
((?:[^\n][\n]?)+) #flashcard ?\n*((?:\n(?:^.{1,3}$|^.{4}(?<!<!--).*))+)
That is defined in the original documentation
However, when I run the plugin some Flashcards are created, and some not
allowDuplicate: true
inmain.js
in.obsidian/plugins/obsidian-to-anki-plugin
folderThe text was updated successfully, but these errors were encountered: