15 2
Contact Author Sign in to rate

Multi-Line Type Answer Box

0.07MB. Updated 2020-08-21. Only supports Anki 2.1.x.

Description

**I no longer have time to support this addon with fixes and updates. Please feel free to fork the GitHub repo and/or upload your own version. Thanks!** Allows embedding of an input text box (<textarea>) in your notes. The guess can be automatically compared to the answer, just like the built-in {{type:}} template feature. Note: For the best retention, you should keep the answers to your notes as short and specific as possible. This is discussed in many spaced repetition guides you can find online. Don't let this addon make you forget that! After installing, try it by adding a new note type (maybe cloned from "Basic (type in the answer)"), and editing the cards to: Front template: {{Front}} [[typebox:Back]] Back template: {{FrontSide}} The style of the text box can be set in the card styling like this: textarea { height: 300px; } After entering your guess in the text box, you can press CTRL+ENTER while the box is selected to show the answer. To not do any correction on your guess, instead include the box as: [[typebox:]] You can include the input box in cloze cards as well by including [[typebox:]] on both the front and back of the card. The elements can be styled with the CSS selectors '.textbox-input' (<textarea>), '.textbox-output-parent' (<div>), and '.textbox-output' (<pre>). Please create issues for bugs or feature requests here. For bugs, first try clicking "Check for Updates" in the Add-ons menu and see if the issue persists.

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:

681236951

If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons Contact Author

Reviews

on 1617991203
Fantastic author, really like this add-on

The only issue I have is seeing all the code I've written at once... how can I make the textbox larger? changing the height in styling to more pixels doesn't seem to change it at all...
on 1611080549
When I put it in a table it returns an error

<table>
<tr>
<th>Question</th>
<th>Answer</th>
</tr>
<tr>
<td>{{Question}}</td>
<td>
{{Front}}
[[typebox:Back]]
{{FrontConti}}

</td>
</tr>
</table>

Why ?????
on 1610399622
Increible complemento me ayuda mucho para estudiar Python, C y Tecnologías Frontend
on 1603415883
Great for C++ cards!
on 1598791447
Good stuff. Thanks a lot! Another happy customer here. Cheers.
on 1598213186
Can you please make this night-mode friendly? The whites background and other colors really hurt my eyes. Will upvote once this is fixed. Thank you!
on 1598203701
this is so cool. thanks
on 1597942664
Useful!
on 1596354708
thank you, this is exactly what I was looking for.
on 1593605056
EXCELLENT!!!

BUT it can't work in LaTeX code. Please FIXED it.
Thx
on 1590721905
Excellent, just what I need for multi-line type in answers for learning R programming.
on 1590709286
Great work!
on 1589119573
Thanks for updating the add-on! Type comparison is working well now.
on 1589043354
My favorite add-on! Thank you so so much. This add-on has been a tremendous help on my Anki learning journey. I use it everyday it's amazing
on 1588180214
Hi, it works on version 2.1.22.
But I removed it since I had found this plug-in affects the existing cards using {{type:}}.

Could you make it possible to both syntax consistent? Or eliminate the effect on the original cards, at least.
Thanks.
Comment from author
Hmm, the only way {{type:}} should be affected is if you have both {{type:}} and the multi-line input ([[typebox:]]) in the same card, which seems a bit unusual to me. Please make an issue on the github repo linked in the description with more details.
on 1587648190
This is so great. I like that the text of your answer still displays when you flip even if you aren't comparing to the back of the card. Is there a way to style the format of text not only of what you type into the text box but also how it displays on the back of the card after you flip? It's defaulted to arial in white and I'd like it to match the font of all the other text in my card...
on 1587443119
Works great. However, I style it so that my textbox is centered. But the backside of the card displays everything on left alignment. How do I fix that?