Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Cloze overlapper cards #44

Open
c-okelly opened this issue Jul 12, 2019 · 0 comments
Open

Add support for Cloze overlapper cards #44

c-okelly opened this issue Jul 12, 2019 · 0 comments
Labels
feature New feature

Comments

@c-okelly
Copy link
Owner

Support the creation of cloze overlapper cards as generated

Points

  • Need to check the correct model exists
  • Generate format from list
  • Expand on more complicated use cases

Example of the json the needs to be generated in order to make the card

{
    "action": "addNote",
    "version": 6,
    "params": {
        "note": {
            "deckName": "Remote Decks",
            "modelName": "Cloze (overlapping)",
            "tags": [],
            "fields": {
                "Title": "title",
                "Full": "<div>{{c21::Item 1}}</div><div>{{c21::Item 1}}</div><div>{{c21::Item 1}}</div>",
                "Text2": "<div>Item 1</div><div>{{c2::Item 1}}</div><div>...</div>",
                "Text3": "<div>...</div><div>Item 1</div><div>{{c3::Item 1}}</div>",
                "Text1": "<div>{{c1::Item 1}}</div><div>...</div><div>...</div>",
                "Settings": "1,1,0 | n,n,n,n",
                "Original": "Item 1<div>Item 1</div><div>Item 1</div>",
                "Sources": ""
            }
        }
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant