@Klaas Ah I can see how that would be confusing. So for me, notes =/=.md file - notes are the actual text/images inside a file.
By āfileā, I mean actual .md file.
So, as an example:
GLOBAL TAGS
Literature Philosophy
START
Basic
This is a test
Back: Test successful!
Tags: Test
END
If you pasted that into a file, and saved it, and then ran the script over it, it would add a single āBasicā note into Anki, with the tags āLiteratureā, āPhilosophyā and āTestā, even though you only specified the āTestā tag inside the note itself.
Sorry, itās probably extra confusing because Anki gives almost a third meaning to ānoteā, since cards are generated from notes!
So, to summarise:
- For you, a ānoteā is a
.md file
- For me, a ānoteā is a piece of text inside a file about a topic (which might be formatted appropriately for Anki, or outside separately)
- For Anki, a ānoteā is something from which cards are generated, according to your template for that note type