Bỏ qua đến nội dung

Export selected cards from the browser (HTML & Clipboard)

Chờ xử lý #anki #addon #export #selected #cards #from #the
Unknown
11/9/2023

Cách tải addon Export selected cards from the browser (HTML & Clipboard)

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

572556524

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

3
4

Mô tả chi tiết

This add-on allows users to export selected Anki cards to a printable HTML file or directly copy the content of multiple cards to the clipboard.

It is based on https://ankiweb.net/shared/info/1025789669

  1. Exporting Selected Cards:

Open the Anki Browser. Select the desired cards. Right-click and select “Print” (or Ctrl + O). An HTML file will be saved on your desktop and it will open in a web browser.

  1. Copying Card Fields:

Select the cards you want to copy. Right-click and choose “Copy Card Fields”. The content is now on your clipboard, ready to be pasted wherever needed.

Details:

For printing:

Cards containing MathJax or LaTeX are appropriately formatted. Cards are printed with your CSS styles. If you have Javascript in your card template, it may or may not work properly. If you have bugs in the HTML file, it’s probably due to Javascript in your template. In the config file you can set the number of cards printed per row. Change the field “cardsPerRow”.

For copying:

When copying, all HTML elements are stripped away, and any images are replaced with the placeholder “(IMG OMITTED)”, which you can change in the config file. In the config file you can set a specific text that will appear at the beginning of the copied content. Useful for adding context or instructions. Change the field “Prompt”.

In both cases, empty fields or those from “Image Occlusion” cards are omitted from the content.


Reviews (7)

👍 2024-12-27

Needing a update to current version of anki.

👍 2024-05-16

Update

👍 2024-03-15

please update for version 23.12.1

👍 2024-03-02

I get the error, that the extension can not be loaded.

👍 2024-02-13

Anki 23.12.1 (1a1d4d54) (ao) Python 3.9.15 Qt 6.6.1 PyQt 6.6.1 Platform: Windows-10-10.0.22631

When loading Export selected cards from the browser HTML Clipboard: Traceback (most recent call last): File “aqt.addons”, line 245, in loadAddons File “C:\Users\trung\AppData\Roaming\Anki2\addons21\572556524_init_.py”, line 5, in <module> from PyQt5.QtGui import QKeySequence ModuleNotFoundError: No module named ‘PyQt5’

👍 2023-11-15

I used the addon just the other and today it stopped working.

ChatGPT solved the issue: https://www.reddit.com/r/Anki/comments/17vsy19/anki_addon_issue_export_selected_cards_from_the/

👍 2023-11-06

quite useful improvement of a Basic Printing Support add-on