So many years after Obsidianki4,
## Syntax
````
```anki
---
id: // the card id of anki, if this card was added to anki.
auto-sync: true
---
front part of the card, with <<cloze>> in them. You can <<1:optionally>> add an <<2:order>> to the closes.
===
Of course, there will be an answer that's to be revealed at the end. $math$ is of course supported, along with $block math$. #tags will automatically be added as well.
![[images]] would also be working, and images would be added to Anki.
[[Wiki Links]] would also be working, along with the [[Wiki Links|Aliases]] that would open the corresponding document in Obsidian.
Normal markdown parsing would also be supported.
```
````
## Architecture
- `src/`: the place where the source code are being placed
- `anki/`: api to create models, load card information, add card, etc. to anki
- `agents/`: llm agents to
- `core/`: code that utilises the `anki/` apis and add application logic (i.e. a repository that gets the information of a card, a global store that loads and sets the anki)
- `view/`: code that presents the
## Features
### Automatically adding and synchronising the cards
- [ ] Add a setting in Obsidian such that if enabled, the cards would be automatically synchronised to Anki upon rendering.
- [ ] Otherwise, manual synchronisation would be utilised. (Implement a button with "sync" that syncs the item.)
- [ ] If Auto-Sync is disabled, then a delete button would be shown that deletes the item from Anki.
- [ ] Has card-level auto-sync