anpi/examples/simple.yml (view raw)
| 1 | --- |
| 2 | - deck: English |
| 3 | # "type" refers to the Anki note type, such as "Basic", "Cloze", etc. |
| 4 | type: Vocab |
| 5 | # global tags applied to all notes in this deck |
| 6 | tags: |
| 7 | - english::vocab |
| 8 | - imported |
| 9 | # field mappings: the keys used in [notes] are mapped to field names in the Anki note type |
| 10 | # for example, "front" below will populate the "Front" field in Anki |
| 11 | fields: |
| 12 | front: Front |
| 13 | back: Back |
| 14 | notes: |
| 15 | - front: The word |
| 16 | back: The definition |
| 17 | - front: Another word |
| 18 | back: Another word definition |
| 19 | # local tags apply only to this specific note |
| 20 | tags: [english::example-tag] |