Skip to content
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

Mark notes or folders that should be ignored #300

Closed
leonausp opened this issue Nov 17, 2021 · 6 comments
Closed

Mark notes or folders that should be ignored #300

leonausp opened this issue Nov 17, 2021 · 6 comments

Comments

@leonausp
Copy link

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

@hrmck
Copy link

hrmck commented Dec 16, 2021

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

@hektor
Copy link

hektor commented Dec 29, 2021

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

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

@niposch
Copy link
Contributor

niposch commented Feb 14, 2022

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.

@Nadir-Echo
Copy link

你好

我在设置中添加了忽略文件或文件夹的选项,因为我个人需要此功能。现在已经使用此功能一段时间了,它似乎可以按预期工作。您可以从此处下载插件的版本=>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

@niposch
Copy link
Contributor

niposch commented May 10, 2022

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

@Nadir-Echo
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants