AnkiWeb
- Rating
- 0 (π 0 Β· π 0)
- Updated
- 2022-08-15
- Anki versions
- 2.1.54~
- Description language
- en
AnkiWeb addon 703825446
Automatically copies a chosen field's content to the clipboard when the question or answer side is shown, converting HTML into Markdown-formatted text.
Open on AnkiWeb GitHub Ask about alternatives
abandoned
| Min Anki | Max Anki | Updated |
|---|---|---|
| 2.1.16 | 2.1.54+ | 2022-08-15 |
Loadingβ¦
Copies a chosen field from selected Browser notes to the clipboard as plain text with header and note IDs, or as raw HTML.
Copies one selected Anki cardβs non-empty note fields, in field order, to the clipboard as cleaned Markdown via the Browser context menu.
Automatically copies a chosen card field to the clipboard when the question or answer side is shown, configurable via settings; may be unmaintained and not work.
Exports selected Anki browser cards to printable HTML or copies their fields to the clipboard, omitting empty and Image Occlusion fields.
Exports Anki cards to a searchable, printable HTML page rendered exactly like the reviewer, plus live browsing, narrated slideshows, and rapid presentation modes.
Copies configured note fields to the system clipboard with question/answer-specific fallback fields, optionally stripping HTML or furigana, supporting up to 10 fallbacks and Anki Qt6 compatibility.
<h2 align="center">Copy2Clipboard(html2text) Add-on for Anki</h2>
<p align="center"> <a title="License: GPL v3" href="https://www.gnu.org/licenses/gpl-3.0"><img src="https://img.shields.io/badge/License-GPLv3-blue.svg"></a> <a title="Rate on AnkiWeb" href="https://ankiweb.net/shared/info/703825446"><img src="https://glutanimate.com/logos/ankiweb-rate.svg"></a> <br> </p>
Copy2Clipboard(html2text) automatically copies a field's content to the clipboard when the question or answer side is shown (or both, if desired).
This add-on is built on Copy2Clipboard. I simply bundled html2text to convert HTML to Markdown-formatted text.
The original Copy2Clipboard copies the underlying html, which is probably not what you want. For example, given the following front side:

the following content is copied:
<pre style="display:flex; justify-content:center;"><code class="language-rust hljs"><span class="hljs-keyword">fn</span> <span class="hljs-title function_">main</span>() {
<span class="hljs-built_in">println!</span>(<span class="hljs-string">"Hello World!"</span>);
}</code></pre>
With this add-on, the following is copied:
fn main() {
println!("Hello World!");
}
When the question side is shown: "Front" field will be copied to the clipboard (if one exists).
When the answer side is shown: nothing will be copied to the clipboard.
To modify the default behavior, go to Tools -> Add-ons -> Choose Copy2Clipboard(html2text) -> Click Config -> edit "questionField" and "answerField" according to your needs
The easiest way to install Copy2Clipboard(html2text) is through AnkiWeb.
This add-on would not have been possible without html2text and Copy2Clipboard. This program is distributed in the hope that it will be useful, but without any warranty.