Bỏ qua đến nội dung

Qolibri/GoldenDict Search

Chờ xử lý #anki #addon #qolibrigoldendict #search
Unknown
12/5/2024

Cách tải addon Qolibri/GoldenDict Search

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

203085198

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

Mô tả chi tiết

On linux runs qolibri with some search query & uses wmctrl to focus the qolibri window. To use it, create a button (or anything else you want) in the card template like this:

<button id=“clickMe”;“>Qolibri</button> <br>

<script> //- Using an anonymous function: document.getElementById(“clickMe”).onclick = function () { pycmd(‘queryQolibri ’ + ‘{{FrontSide}}’); }; </script>

You can change the {{FrontSide}} to whatever you want to query in qolibri.

Qolibri should be run with the server setting PRIOR to using it in anki for it to work correctly (otherwise qolibri would open & anki would hang). An anki restart is required after installing the plugin.

Now also supports GoldenDict (use queryGoldenDict instead of queryQolibri).