自定义id字段怎么填充题库名+题目序号

Uploading: 微信图片_20231227095432.png…
如图就是在id字段加题目章节+题目序号,有没有插件可以做到啊,方便我搜题


类似图片这样吗,一个deck牌组的第一个字段为id字段,有插件可以实现填充序号效果吗,请教大家,方便搜题

也许可以导出笔记,然后对导出的 txt 文件批量添加序号再导入回去。

另外,不同题库可以放不同牌组,以便区别。

1 Like

谷歌翻译一下问题,以便其它人回答。

Use Google Translate to translate the question so others can answer it.


自定义id字段怎么填充题库名+题目序号

How to fill in the question bank name + question serial number in the custom id field?

如图就是在id字段加题目章节+题目序号,有没有插件可以做到啊,方便我搜题

As shown in the picture, the title chapter + title serial number are added to the id field. Is there any plug-in that can do this to facilitate my search for questions?

类似图片这样吗,一个deck牌组的第一个字段为id字段,有插件可以实现填充序号效果吗,请教大家,方便搜题

Is it similar to the picture? The first field of a deck is the id field. Is there a plug-in that can achieve the effect of filling in the serial number? I would like to ask everyone to help search for questions.

也许可以导出笔记,然后对导出的 txt 文件批量添加序号再导入回去。

Maybe you can export the notes, then add serial numbers to the exported txt files in batches and then import them back.

另外,不同题库可以放不同牌组,以便区别。

In addition, different question banks can put different decks of cards in order to distinguish them.

主要是老卡组层级有点多了,导出的话,要几十个excel,再倒到anki,有点费时间,要是直接能在anki里面的id字段自动填充就好了,我看了一下设置只有批量添加相同的文本在一个空字段,而没有这种可以自定义规则的填充id字段,也感谢你的回复

导出时可以选择用纯文本 txt 格式,带上牌组名信息,这样就只用导出一个 txt 文件。

When exporting, you can choose to use plain text txt format with deck name information, so that only one txt file needs to be exported.

导出为 txt 文件后,每个字段都是用制表符分隔的,如果是有明显规律地填入信息,可以写一个脚本,在指定的位置填入你想填写的内容。

如下是我的一个牌组的内容,层次比较清晰。你可以尝试导出来,研究一下,然后根据你的需求定制脚本。(每段开头是唯一标识符,!>>> 是制表符)

After exporting to a txt file, each field is separated by tab characters. If the information is filled in clearly and regularly, you can write a script to fill in the content you want to fill in at the specified position.

The following is the content of one of my decks, the hierarchy is relatively clear. You can try exporting it, researching it, and tailoring the script to your needs. (The beginning of each paragraph is a unique identifier, !>>> is a tab character)

1 Like

谢谢你的分享,不过脚本这个我不太会,文本编辑器我试了,好像列编辑模式可以实现需求,我想的的还是能在anki用插件实现,一直在找哈哈

感觉不太可能有这样的插件,毕竟适用性不够广泛。你可以去插件官网看看,也许有吧。

It seems unlikely that there is such an addon, after all, the applicability is not wide enough. You can go to the addons official website to take a look, maybe there is one.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.