Skip to content

Conversation

@jasonho1308
Copy link

@jasonho1308 jasonho1308 commented Jun 12, 2023

This pull request introduces several new features and configuration options to improve note parsing and deck/tag management in the plugin. The most significant changes are the addition of customizable regex patterns for note parsing, support for using folder paths as deck names, and enhanced tag handling.

Advanced Note Parsing and Configuration:

  • Added a new RegexPatterns setting to allow users to fully customize the regular expressions used for note parsing, replacing the previous hardcoded patterns.
  • Updated the settings migration logic to automatically add RegexPatterns to existing configurations, ensuring backward compatibility for current users.

Deck and Tag Management Enhancements:

  • Introduced a Folder as Deck option, enabling users to use folder paths as deck names for better organization in large vaults. The settings UI and data flow were updated to support this feature.
  • Added the Add File Tags to Card option, allowing tags found within files to be added to the generated Anki cards. The tag handling logic now distinguishes between file tags and folder tags based on this setting.

Other Improvements:

  • attempt to fix the github action

I am a previous obsidian-spaced-repetition user but I have recently switched to use this plugin as I like anki's algorithm more.

I used folder and tags as deck in the spaced repetition plugin so I adeded these feature

@ShootingKing-AM
Copy link
Member

Can you rebase this PR to current master and add some Tests ?

@jasonho1308
Copy link
Author

Can you rebase this PR to current master and add some Tests ?

Will do!

@ShootingKing-AM ShootingKing-AM marked this pull request as draft January 19, 2024 07:32
@ShootingKing-AM ShootingKing-AM linked an issue Jan 19, 2024 that may be closed by this pull request
@jasonho1308 jasonho1308 changed the title Added option for using folder as deck and import file tag Added option for using folder as deck, import file tag and custom regex for deletion Sep 28, 2025
@jasonho1308 jasonho1308 marked this pull request as ready for review September 28, 2025 15:37
@jasonho1308
Copy link
Author

I cannot get the testing stuff to work on my computer, so I cannot implement testing, but new features are added and also I make the setting UI better

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

Successfully merging this pull request may close these issues.

Make cards go to decks based on folder structure

2 participants