kerrickstaley / genanki

A Python 3 library for generating Anki decks
MIT License
1.99k stars 150 forks source link

Is it possible to change 'Editing font'? #129

Closed JaeyongMed closed 7 months ago

JaeyongMed commented 7 months ago

CleanShot 2024-02-05 at 15 07 02@2x

Expected behavior Is there an option to specify editing font and size?

kerrickstaley commented 7 months ago

You can do this by setting the 'font' key in the dict for that field when creating the Model. For example:

fields=[
  {'name': 'Question'},
  {'name': 'Answer', 'font': 'Arial Black'},
],

Sorry this isn't better documented; genanki's docs are a little thin right now :/