Obsidian_to_Anki icon indicating copy to clipboard operation
Obsidian_to_Anki copied to clipboard

Mark notes or folders that should be ignored

Open leonenethz opened this issue 3 years ago • 6 comments

Hello I am currently using the Header paragraph style to generate flashcards and it works quite good with my notes. The only problem I have is that it automatically applies to all the files in my vault. I have some Folders and some notes (like MOCs) that don't need to be converted to flashcards and just generate spam. Is it possible to ignore those somehow? Could we maybe include something like Target Deck: Exclude? I mean I could just make a Trash Deck and direct all those files there, but it's kind of ugly in my opinion. My problem actually applies to all styles where you don't specify that you are making a flashcard (for example by putting "#flashcard", but you just let it do by itself. Thanks

leonenethz avatar Nov 17 '21 21:11 leonenethz

Have you checked issue #183 before? Yours seems to be a duplicate of that issue.

hrmck avatar Dec 16 '21 12:12 hrmck

#289 is an open PR solving the similar issue in #288.

The fork contains a release for this. (I have not tried it yet.)

hektor avatar Dec 29 '21 14:12 hektor

Hi,

I added the option to ignore files or folders in the settings, because I personally need this feature. Been using this feature for a while now and it seems to work as it is intended. You can download the version of the plugin from here => https://github.com/niposch/Obsidian_to_Anki/releases/tag/3.5.0_prerelease1 You have to manually install it. I am not as experienced with developing obsidian plugins as the original author, so I would advise anyone using the modified version to make a backup of their vault, just to be on the safe side.

niposch avatar Feb 14 '22 18:02 niposch

你好

我在设置中添加了忽略文件或文件夹的选项,因为我个人需要此功能。现在已经使用此功能一段时间了,它似乎可以按预期工作。您可以从此处下载插件的版本=>https://github.com/niposch/Obsidian_to_Anki/releases/tag/3.5.0_prerelease1 您必须手动安装它。我不像原作者那样在开发黑曜石插件方面经验丰富,所以我建议任何使用修改后版本的人备份他们的保险库,只是为了安全起见。

Thanks for your work, I have a question, what should be written in the file setting? Absolute path like this? image

Nadir-Echo avatar May 09 '22 08:05 Nadir-Echo

You have to insert relative paths. They are relative to the root directory of your vault. This is so that you can use your vault on different computers. The paths can contain wildcards. (Similar to how they work in gitignore files)

image

niposch avatar May 10 '22 15:05 niposch

You have to insert relative paths. They are relative to the root directory of your vault. This is so that you can use your vault on different computers. The paths can contain wildcards. (Similar to how they work in gitignore files)

image

Thanks,I sucessed it for your advice!

Nadir-Echo avatar May 11 '22 05:05 Nadir-Echo