import genanki general_css = ''' .card { font-family: arial; font-size: 32px; text-align: center; color: black; background-color: white; white-space: pre-line; } ''' simple = genanki.Model( 1653277989, 'Simple Model', fields=[ {'name': 'Question'}, {'name': 'Answer'}, ], templates=[ { 'name': 'Card 1', 'qfmt': '{{Question}}', 'afmt': '{{FrontSide}}