We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cabd954 commit b46852eCopy full SHA for b46852e
README.md
@@ -112,3 +112,8 @@ or implementing `sort_field` as a property in a subclass (similar to `guid`).
112
## YAML for Templates (and Fields)
113
You can create your template definitions in the YAML format and pass them as a `str` to `Model()`. You can also do this
114
for fields.
115
+
116
+## Using genanki inside an Anki addon
117
+`genanki` supports adding generated notes to the local collection when running inside an Anki 2.1 addon (Anki 2.0
118
+may work but has not been tested). See the [`.write_to_collection_from_addon() method`](
119
+https://github.com/kerrickstaley/genanki/blob/0c2cf8fea9c5e382e2fae9cd6d5eb440e267c637/genanki/__init__.py#L275).
0 commit comments