Bỏ qua đến nội dung

HTML Editor Tweaks v0.2

Chờ xử lý #anki #addon #html #editor #tweaks #v02
https://github.com/luoliyan/anki-misc/issues
22/3/2020

Cách tải addon HTML Editor Tweaks v0.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

410936778

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

6
2

Mô tả chi tiết

A set of tweaks to the built-in HTML editor. Hopefully an improvement for those who spend a lot of time editing cards.

Somewhat alpha. Seems to work 99% of the time, but please make a backup of your collection first. If you encounter any issues, let me know on GitHub: https://github.com/luoliyan/anki-misc/issues

Tweaks

Prettifies the HTML by running it through Beautiful Soup Reformats pretty aggressively, which is what I wanted, but not everyone will like it Remaps Ctrl+Shift+X to F12 Sets a decent monospace font (assumes Iosevka; edit init .py to change) Resizes the editor to something more reasonable than 400 x 300 Disables the default behaviour of loading the cursor on the last line (personal preference, yes)

Known Issues

Adds spurious space just before <sub> or <sup> Incorrect handling of tags inside parentheses


Screenshots


Liên kết hỗ trợ


Reviews (7)

👍 2020-12-16

not work. please u can fix?

👍 2020-07-24

When opening and closing the html editor, an error occurs where a space is inserted in the colored part.

👍 2020-04-13

this is exactly what I need, thank you!!

👍 2020-02-13

What I needed, thanks.

Not quite like being able to use vim, but really useful.

👍 2019-09-02

Looks very helpful on first sight

👍 2019-07-26

useful

👍 2019-06-09

makes editing the html source much easier