Bỏ qua đến nội dung

Batch Remove Formatting (e.g. bold, italics, etc.)

Chờ xử lý #anki #addon #batch #remove #formatting #bold #italics
https://github.com/Araeos/ankiplugins
24/9/2018

Cách tải addon Batch Remove Formatting (e.g. bold, italics, etc.)

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

1734822644

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

10
6

Mô tả chi tiết

Adds a menu entry to the card browser that removes specific HTML tags from all fields in all selected notes.

(This is just a quick upload to make it easier for other users to install this add-on. I will try to flesh out the add-on description and documentation more soon).

Usage

In the card browser, select the cards you want to modify, then go to Edit → Batch-Remove Field Formatting.

I haven’t tested the add-on extensively, yet, so make sure to give it a try on a smaller number of cards first. You can use Ctrl+Z to undo its actions.

Config

The HTML tags to be removed can be specified in the user configuration section at the top of the source code.

Changelog

2018-09-24 – Fix Anki 2.1 support (thanks to Arthur Milchior for the bug report!) 2018-09-14 – Initial AnkiWeb release

License & Copyright

Based on “Clear Field Formatting (HTML) in Bulk” by Felix Esch (https://github.com/Araeos/ankiplugins). The source code for the present version may be found here: https://github.com/glutanimate/anki-addons-misc/

(c) Felix Esch 2016 (https://github.com/Araeos>) (c) Glutanimate 2017-2018 (https://glutanimate.com/)

License: GNU AGPLv3 or later (https://www.gnu.org/licenses/agpl.html)

Support my work

Support me on Patreon: https://www.patreon.com/glutanimate

Buy me a coffee: https://glutanimate.com/tip-jar/


Liên kết hỗ trợ


Reviews (16)

👍 2024-08-16

Note: tool is available in the card browser view. However, trying to run it resulted in an error message.

👍 2024-04-22

Anki 23.12.1 (macOS), unfortunately the plugin is no longer supported and cannot be used.

👍 2024-02-27

Works great!

👍 2021-11-30

works for me on Anki 2.1.39

👍 2021-11-24

There is no edit> batch remove whatsoever.

👍 2021-03-22

Does not work if to remove background color of field text.

👍 2021-01-15

would be nice if we could choose a specific field

👍 2020-11-06

Extremely helpful.

👍 2020-10-08

It is the kind of add-on I install, use once and uninstall. But it IS very useful when needed. Updated about 10 thousand cards in a few seconds. Did the job as expected.

👍 2020-04-16

Great add-on, find a lot of use. It would be even better if there was an option to remove formatting only for certain fields.

👍 2019-08-28

Works beautifully on Anki 2.1. Thanks Glutanimate!

The Anki 2.0 version did not work for me. Got a similar error message as reported below.

👍 2019-08-27

I worked a treat for me. I’m running Anki 2.1 on an Ubuntu based Linux OS (Peppermint).

Had no issues with it.

👍 2019-04-14

Didn’t work for me either

An error occurred in an add-on.

Please post on the add-on forum:

https://anki.tenderapp.com/discussions/add-ons

Traceback (most recent call last):

File “C:\Users\Albert\AppData\Roaming\Anki2\addons\Batch_Remove_Formatting_eg_bold_italics_etc.py”, line 76, in <lambda>

a.triggered.connect(lambda _, b=browser: onClearFormatting(b))

File “C:\Users\Albert\AppData\Roaming\Anki2\addons\Batch_Remove_Formatting_eg_bold_italics_etc.py”, line 99, in onClearForma

👍 2019-01-19

I’m not sure about the issue the other reviewer had. I’ve had no problems with it using installed Anki 2.1 on macOS.

👍 2019-01-19

Worked great! Was able to customize the tags to be removed in the add-on file directly. Saved me a lot of time.

👍 2019-01-17

Not working. Throws this error:

An error occurred in an add-on.

Please post on the add-on forum:

https://anki.tenderapp.com/discussions/add-ons

Traceback (most recent call last):

File “D:\OSCAR\PortableApps\AnkiPortable\Data\ankidata\addons\Batch_Remove_Formatting_eg_bold_italics_etc.py”, line 76, in <lambda>

a.triggered.connect(lambda _, b=browser: onClearFormatting(b))

File “D:\OSCAR\PortableApps\AnkiPortable\Data\ankidata\addons\Batch_Remove_Formatting_eg_bold_italics_etc.p