jasonwilliams / anki

Anki VSCode Plugin
MIT License
278 stars 32 forks source link

Multiple card creation strategies #41

Open fletchermoore opened 3 years ago

fletchermoore commented 3 years ago

I see a request for #12 and #23 for alternate card creation strategies.

I think that one from notion is really cool and clean.

I made my own favorite on my fork, modeled after my old attempts to make ODT and Word notes into Anki flashcards https://github.com/fletchermoore/n2c2 and https://github.com/fletchermoore/AnkiNotebooks

So I propose a card creation strategy option list: Not sure what to call the default one: Default Notion2anki Nested Headers <-- mine

Since it's just a matter of running them through different parsers, I think this should be good. We could add more if there are others out there people are using. Difficulty is describing what they do in the config file.

Will send this pull incrementally as well.

fletchermoore commented 3 years ago

Of course it now occurs to me that people might want to use different strategies depending on the markdown file. So rather than have a global setting for default, or perhaps in addition to, it could be specified in the front-matter or separate commands.