Bỏ qua đến nội dung

Multi-Line Type Answer Box - 2

Chờ xử lý #anki #addon #multi #line #type #answer #box
Unknown
25/8/2023

Cách tải addon Multi-Line Type Answer Box - 2

Bạn có thể tải addon bằng một trong hai cách sau:

Click nút Copy bên dưới để copy code vào clipboard

1018107736

Sau đó mở Anki → Tools → Add-ons → Get Add-ons → Dán code → OK

Mở trang addon trên AnkiWeb và tìm mã code ở cuối trang

Mở trên AnkiWeb

Cuộn xuống cuối trang AnkiWeb, tìm dòng có mã code 1018107736 và copy

25

Mô tả chi tiết

Shout out to the original author of the Multi-Line Type Answer Box (https://ankiweb.net/shared/info/681236951).

I personally needed this add-on and decided to maintain it under a new name (Multi-Line Type Answer Box - 2) since the original author no longer supports it.

** Instruction from original add on **

Allows embedding of an input text box () in your notes. The guess can be automatically compared to the answer, just like the built-in {{type:}} template feature. </p> <p>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!</p> <p>After installing, try it by adding a new note type (maybe cloned from “Basic (type in the answer)”), and editing the cards to:</p> <p>Front template: {{Front}} [[typebox:Back]]</p> <p>Back template: {{FrontSide}}</p> <p>The style of the text box can be set in the card styling like this: textarea { height: 300px; }</p> <p>After entering your guess in the text box, you can press CTRL+ENTER while the box is selected to show the answer.</p> <p>To not do any correction on your guess, instead include the box as: [[typebox:]]</p> <p>You can include the input box in cloze cards as well by including [[typebox:]] on both the front and back of the card.</p> <p>The elements can be styled with the CSS selectors ‘.textbox-input’ (<textarea>), ‘.textbox-output-parent’ (<div>), and ‘.textbox-output’ (<pre>).</p>


Reviews (23)

👍 2025-10-26

I needed this. Very useful. Thank you so much! :) Just adjusted he styling a bit, as follow:

  • For Front Template: {{Front}} [[typebox:Back]]

<div class=“textarea”></div>

  • For Styling: .card { font-family: arial; font-size: 20px; line-height: 1.5; text-align: center; color: black; background-color: white; }

textarea { height: 300px; }

.textbox-input { text-align: center; background-color: solid grey; width: 50%; border: 5px solid green; padding: 5px;

👍 2025-05-11

what can I do so the box doesnt disappear when all clozes are revealed?

👍 2025-01-31

Good and neccessary addon. God bless you brotha.

👍 2024-09-09

Thanks. I need multiline answers for code snippets and theory. This really helps.

👍 2024-07-29

Works just like the old TypeBox plugin. This is the one. Thank you for this!

👍 2024-06-14

Thank you, excellent! Been looking for something like this to learn snippets of code for ages.

👍 2024-05-26

Great. Thank you very much for providing a version that runs on Anki 24. Everything works great except for HTML code. Here the two changes from the commentator below (2024-01-27) help - they’re at https://github.com/galeon/ankiTypebox/pulls

👍 2024-04-28

Great!

👍 2024-04-23

Thank you!

👍 2024-04-16

Thanks for keeping the addon alive, it is very useful, this is my solution to align the elements in the middle of the cardflash: 1- Front:

<div class=“textarea”></div>

[[typebox:Diktat]]

2- Style:

.textbox-input { text-align: center; background-color: lightgrey; width: 50%; border: 5px solid green; padding: 5px; margin: auto; }

.textbox-output { text-align: center; }

.textbox-output-parent { text-align: center; }

👍 2024-03-26

Awesome plugin! Thanks for that!

👍 2024-03-20

Great. Thank you so much for updating and sharing the add-on!

👍 2024-02-03

Great add on, but can you fix it for AnkiDroid please it works on desktop but not on mobile

👍 2024-01-29

Useful addon!

👍 2024-01-27

I’ve made a fix for expected answers that are in HTML format (eg, for people studying web development), and made a PR for that on github.

👍 2024-01-17

Thanks for this great add-on, but it doesn’t work with “Advanced Answer Sounds” I really need both add-ons and hope there is a solution for it

👍 2023-12-25

Excelent!

👍 2023-11-29

Works, thank you

👍 2023-11-01

Thank you for updating it

👍 2023-10-07

Love it!

👍 2023-10-01

thanks for the fix to the original add-on. I’ve a lot of multi-line answers and needed this

👍 2023-09-08

Very useful. Thanks!

👍 2023-09-04

Thanks a lot. Like seriously, I needed this add-on