Bỏ qua đến nội dung

Mini Format Pack Supplementary

Chờ xử lý #anki #addon #mini #format #pack #supplementary
Unknown
3/1/2020

Cách tải addon Mini Format Pack Supplementary

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

476705431

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

10
3

Mô tả chi tiết

As the add-on’s name is is supplementary of Mini Format Pack. Actually I am try to imitate the old add-on Power Format Pack. But note if you have install Mini Format Pack, this add-on will change the behavior a little about that code button, which will just wrap <pre class=“myCodeClass”>…</pre> for your current selected text. And it has such new features:

  1. It can add inline tag <code> and <kbd> tag

  2. It can remove <pre> tag and </code>

Update 2019-08-16

  1. Imporove the button of remove pre tag
  2. Add a button for adding <kbd> tag 2019-08-28
  3. Add a Pinyin for single Chinese character 2020-01-23
  4. Compatible other system to fix the crash

Screenshots


Reviews (12)

👍 2025-06-26

非常好的插件,但是拼音用不了了

👍 2023-07-08

Useful

👍 2021-11-01

If you click the button, cursor will lose. Sincerely suggest that the author need read the document before writing the plug-in, you can use… web.eval("wrap

https://addon-docs.ankiweb.net/hooks-and-filters.html#legacy-hook-handling

👍 2021-10-26

Awesome! Life saving! Thanks!

👍 2021-07-08

Great! 😋

I am using it especially for the making your selection a code block (surrounded by <code>).

👍 2020-10-17

Great add-on. Is there any way to preserve indentation within the code block? When anki centers the text, all indentation is lost.

👍 2019-12-25

Current version of the plugin only works for windows.

You need to replace the \ delimiter and use os.path.join to be OS independent. For example, in line 309 of the py file:


    return buttons + [editor._addButton(os.path.join(os.path.dirname(__file__),"icons", "pre.png"),"button_wrap_pre","Add pre tag for selected text"),

I can send a patch if someone gives me a link to the repo. Comment from author Thanks for you point it out, I have updated it just now

👍 2019-12-08

Too bad. It loads the addon but when I want to open the browser, I get the following error:

Debug info:

Anki 2.1.15 (442df9d6) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3

Platform: Mac 10.14.6

Flags: frz=True ao=True sv=1

Add-ons possibly involved: Mini Format Pack Supplementary

Caught exception:

File “aqt/main.py”, line 855, in onBrowse

File “aqt/init.py”, line 82, in open

File “aqt/browser.py”, line 407, in init

File “aqt/browser.py”, line 642, in setupEditor

File “<dec

👍 2019-12-03

请问,这个该怎么使用啊,我有点点不明白,安装之后没有发现变化 Comment from author 看下这里的说明(https://ankiweb.net/shared/info/162313389),使用起来差不多

👍 2019-10-23

I was looking for this especially add hyperlink Comment from author So look this:https://ankiweb.net/shared/info/318752047

👍 2019-08-30

Very useful. Thanks!

👍 2019-08-29

very useful!