pub fn basic_type_in_the_answer_model() -> Model
Expand description

Returns a basic Model for cards where you can type in the answer.

use genanki_rs::basic_type_in_the_answer_model;
let my_model = basic_type_in_the_answer_model();

is equivalent to

use genanki_rs::{Model, Field, Template};
let my_model = Model::new_with_options(
        1305534440,
        "Basic (type in the answer) (genanki)",
        vec![
            Field::new("Front").font("Arial"),
            Field::new("Back").font("Arial"),
        ],
        vec![
            Template::new("Card 1")
                .qfmt("{{Front}}\n\n{{type:Back}}")
                .afmt("{{Front}}\n\n<hr id=answer>\n\n{{type:Back}}"),
        ],
        Some(
            ".card {\n font-family: arial;\n font-size: 20px;\n text-align: center;\n color: black;\n background-color: white;\n}\n",
        ),
        None,
        None,
        None,
        None,
    );