Obsidian_to_Anki
Obsidian_to_Anki copied to clipboard
Some Flashcards are not added, even though I don't have any errors in Obsidian Console
Flashcards are not added, even though I don't have any errors in Obsidian Console
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
- I checked regex expression and two of them (all tested) match the expression
- I use Basic Flashcard Type, and the Fields are being detected
- I have around 400 flashcards in my file, but only 290 are being created
- I cleared every setting from the menu—but this didn't help.
- I've set
allowDuplicate: true
inmain.js
in.obsidian/plugins/obsidian-to-anki-plugin
folder - Each flashcard has at least 2 new line characters
Same issue as https://github.com/ShootingKing-AM/Obsidian_to_Anki/issues/201, Locking the other Issue so discussion can continue on here.
我也遇到同样的问题,默认正则表达式,在一个约40个抽认卡的md文件中,会有几个无法自动生成,但是把不能生成的文段复制到一个新建的md文件后,再次执行拓展插件,是可以正常生成的。
I also encountered the same problem, the default regular expression, in a md file of about 40 flashcards, there will be a few can not be automatically generated, but the text can not be generated to a new md file, the implementation of the extension plug-in can be generated normally.
问答题和cloze两种都有出现。
我也遇到同样的问题,默认正则表达式,在一个约40个抽认卡的md文件中,会有几个无法自动生成,但是把不能生成的文段复制到一个新建的md文件后,再次执行拓展插件,是可以正常生成的。
I also encountered the same problem, the default regular expression, in a md file of about 40 flashcards, there will be a few can not be automatically generated, but the text can not be generated to a new md file, the implementation of the extension plug-in can be generated normally.
问答题和cloze两种都有出现。
The translator is not working good. Cant understand your issue here. For any translator to work fine, use simpler and small sentences.
The translator is not working good. Cant understand your issue here. For any translator to work fine, use simpler and small sentences.
**- here is the translation of my text into English:
I'm sorry, my previous statement was not accurate. Here is a revised explanation of the issue I encountered:
I also encountered a similar issue. When I imported a ".Markdown" file containing approximately 47 notes using the default provided regular expression (regex), I found that some notes were not recognized. No flashcards were generated for these notes. However, when I copied the unrecognized content into a newly created Markdown file, the regular expression was able to recognize it and generate flashcards. I hope this clarifies the issue I am experiencing.**
_很抱歉,我之前的表述不太准确,下面我重新整理一下我的语言,说明我遇到的情况。情况如下:
- 我也遇到类似的情况,我的“.Markdown”文件,约47条笔记(note),使用 默认提供的 正则表达式(regex) 导入后,发现有一些笔记没有被识别到。没有生成“Flashcards”
- 但是,我将没有被识别到的 部分内容,复制到新建的“Markdown文件”后,是可以被正则表达式识别,生成抽认卡的。_
same problem.
me too. got the same thing. I checked with Dev Console, the connect was suceed but no cards added. I tried with both way, by note with syntax and by #flashcard