Bỏ qua đến nội dung

Clozed List Builder - 列表转卡片

Chờ xử lý #anki #addon #clozed #list #builder
https://github.com/skybird23333/clozed-list-builder/issues
2/5/2024

Cách tải addon Clozed List Builder - 列表转卡片

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

564605772

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

Mô tả chi tiết

Clozed List Builder for Anki

Github: https://github.com/skybird23333/clozed-list-builder/

中文文档在下面

Warning: Read before proceeding

Please follow the tutorial exactly or you will probably run into errors. It’s my first time making an addon so I don’t know how to do certain stuff properly, but I will try to fix them later on.

Introduction

When you are studying, you may need to memorise lists. This addon can help you quickly generate/convert the following types of lists into notes:

Item lists(e.g. Fruits: Apple, Banana, Orange) Lists that require you to recall items based on its name, not necessarily ordered. Your note will look something like this: FRUITS

  1. Apple
  2. […]
  3. Orange

Ordered Lists(e.g. Orders: Firstly -> Secondly -> Thirdly) Lists that require you to recall an item based on the one before it, such as poems or instructions. Your note will look something like this: ORDERS Firstly -> […]

Adding

To add a list, you must use the default Cloze note type, which will come with Text and Back Extra fields. The addon will use the selected type to create notes.

If you have altered the default type, you can add the default type by going to Tools -> Manage Note Types -> Add -> Add: Cloze.

Your list will be added to the selected deck on your home screen, NOT the one selected in your add menu. Make sure you first click on the deck you want to add to. (to be fixed)

You can then enter each item of your list as a cloze, make sure the numbers do not repeat. Your first cloze will become your title, which is displayed on all notes. You can enter information on Back Extra as usual.

Any text that isn’t included in the cloze will be discarded.

If you wish to create a linked(ordered) list, click on A->B.

If you wish to create an item(unordered) list, click on A,B.

Once you click on either button, your list will be created and a file browser will pop up, showing lists with the same title.

If you wish to add any more lists, you must close the Add window, then open it again. (to be fixed)

Deleting/Searching

Due to the limitations on Anki’s card templates, the addon will create your list as individual notes rather than cards. This means you will have to search for all notes from the same list.

The addon will add a hidden ID in your Back Extra field, which will not be shown while you are studying. The ID is your title with a list_ prefix.

To find it, select your note in the browser and click on the code icon next to Back Extra to reveal it. On mobile, you will be able to see it straight away. You can then search for the ID (without ID:) to find all notes created from the same list.

Editing

As mentioned earlier, due to limitations, you will have to delete all of the notes and recreate the list. The addon will provide a copy of what you originally entered in the hidden bit of the Back Extra field, so you can modify it again. You will have to remove slashes in an external editor. This process will be simplified in a future version of the addon.

Using a custom note type

When you create a list, the addon will take all clozes from the first field and process them as lists, and then insert the hidden section in your second field. If your custom note type wont break from this, you could likely use the addon on it.

Anki 列表转卡片插件

注意:请先完整阅读文档

由于这是作者第一次接触开发Anki的插件,有些地方尚有欠缺,未来会逐渐完善。请仔细按照文档操作,否则Anki很可能会崩溃。

简介

在您学习的时候,可能会需要记忆以下类型的知识点:

列表: 知识点可能会需要记住多个项目,例如: 西红柿炒钢丝球的原料

  1. 钢丝球
  2. […]
  3. 洋葱

有序列表 知识点需要按顺序记忆,比如说课文或者操作步骤: 西红柿炒钢丝球的步骤 准备钢丝球 -> […]

创建笔记

添加列表时,您必须选择Anki默认的填空题模板,包含文字和背面额外两个字段。插件会使用您选择的模板来创建笔记。

如果您已经更改过了这些字段,可以通过工具 -> 管理笔记模板 -> 添加 -> 添加:填空题重新添加默认的填空题模板。

您的列表会被添加到您在首页上选择的牌组,而不是在添加页面里所选择的牌组。请先在首页上选择想添加的牌组,再输入列表。(待修复)

之后就可以输入列表的内容了。列表里的每一项物品都需要是一个填空,确保数字不能重复。列表的第一个填空将会作为标题,在每一张卡片上都会显示。

任何未包含在填空里的文字都会被忽略。

如果要创建一个普通列表,点按 A,B.

如果要创建一个有序列表,点按 A->B.

按下按钮后,插件会为您输入的列表创建笔记,然后在Anki的浏览器里面显示这些笔记。

如果还想要添加列表,需要先关闭添加窗口再打开。(待修复)

删除/搜索

由于Anki模板的限制,插件只能将列表创建为笔记,而不是卡片。如果要删除这些笔记,则需要在Anki的浏览器直接搜索,再全部删除。

插件会在创建笔记后在背面额外字段里插入一个隐式ID,带有list_前缀。ID在您学习时不会显示。

如果需要ID,首先在浏览里找到卡片,然后点按背面额外旁边的代码图标。手机版本可以直接看到这个ID。 之后,您就可以用这个ID搜索(不要包含ID:)来自同个列表的笔记了。

编辑

如前所述,由于Anki的限制,您需要将先前创建的列表删除,做出更改后再新建一个。插件会在背面额外提供您在创建列表时输入的内容,以便您以后可以做出更改。您在编辑时需要将反斜杠删除。作者会考虑在未来优化这个流程。

使用自己创建的笔记模板

在创建列表时,插件会读取您在第一个字段里的所有填空,再把它们当成列表处理,然后在第二个字段里插入ID和原内容。如果您的模板不会受此操作影响,则可以和插件一起使用。


Screenshots

img.png

img_3.png

img_4.png

img_1.png

img_3.png

img_4.png


Liên kết hỗ trợ