Bỏ qua đến nội dung

Dynamic Fields

Chờ xử lý #anki #addon #dynamic #fields
https://forums.ankiweb.net/c/add-ons/
2/8/2021

Cách tải addon Dynamic Fields

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

1747470707

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 1747470707 và copy

5
2

Mô tả chi tiết

Dynamic fields are a further development of the special fields concept. Unlike usual ones, the contents of dynamic fields are generated directly while reviewing through user-defined functions. If you need to display on a card some information related to its parameters or other program data, then dynamic fields will help to do this.

To apply a dynamic field you need to put the {{@field_name:}} expression on the card. Available names and descriptions of dynamic fields can be found in the add-on code.

Notes:

  • Content of dynamic fields can be easily modified with styles like any other element of HTML.
  • Dynamic fields can also be used as variables for JavaScript or as HTML snippets.
  • This addon contains a very limited number of examples. It is rather a template for the user’s own decisions.

Acknowledgements: Dariusz Laska

Tested Version: Anki 2.1.35
Author Contact: itraveller@mail.ru


Liên kết hỗ trợ


Reviews (7)

👍 2023-11-12

Good as an template for your own plugin

👍 2021-04-13

Thanks a lot!

👍 2020-10-03

Спасибо! Отличный аддон!

👍 2020-08-23

I did not understand how to use it.

👍 2020-06-04

To the reviewer down below. If you could read, you’d see that the author has posted his email.

👍 2019-10-17

Causes really bad errors that show up when I try to review or edit cards. Really bad. I don’t even know what this addon is supposed to do (got it because it was recommended to me by someone, but it is useless). I would paste the errors on github but I don’t see a link…

👍 2019-02-17

Very Helpful, thanks alot, solved my problems