Fix anki card formatting
This commit is contained in:
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
4
main.py
4
main.py
@@ -86,8 +86,8 @@ simple_anki_model = genanki.Model(
|
|||||||
templates=[
|
templates=[
|
||||||
{
|
{
|
||||||
'name': 'Card 1',
|
'name': 'Card 1',
|
||||||
'qfmt': '{{Question}}',
|
'qfmt': '<div style="text-align:center;font-size: 1.4rem">{{Question}}</div>',
|
||||||
'afmt': '{{FrontSide}}<hr id="answer">{{Answer}}',
|
'afmt': '<div style="text-align:center">{{FrontSide}}<hr id="answer">{{Answer}}</div>',
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user