all repos

anpi @ 496483fc0819755d93e513fd7c0a72d5bb0f070d

yaml to anki importer
1 files changed, 20 insertions(+), 0 deletions(-)
add example file
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2025-04-30 00:03:45 +0300
Parent: e2e6e9e
A examples/simple.yml
ยทยทยท
        
        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]