Quick Template Copy
This add-on allows you to quickly copy pre-formatted information from one or more notes in the Anki Browser to your clipboard using a customizable template.
Key Features
- User-Friendly Settings: Press
Ctrl+Shift+C (or your custom hotkey) to open a settings dialog with a clean table for managing templates.
- Customizable Hotkeys: Change the shortcuts for copying and editing right from the settings dialog.
- Dropdown for Note Types: Select your note type from a dropdown menu to avoid typos and errors.
- Live Updates: Hotkey changes take effect immediately without restarting Anki.
- Multi-Select Copy: Select as many notes as you want and copy them all at once.
- Tag Support: Use
{{tags}} in your template to include a note's tags.
How to Use
1. Select Notes
Open the Anki Browser and select one or more notes.
2. Copy Content
Press Ctrl+Alt+C (or your custom hotkey) or go to Edit > Copy from Template.
3. Edit Settings
Press Ctrl+Shift+C (or your custom hotkey) or go to Edit > Quick Copy Settings.... This opens the settings dialog where you can:
- Change the hotkeys.
- Add or remove template rows.
- Select a Note Type for each template from the dropdown menu.
- Define the Format Template string in the second column.
Click "OK" to save. Your changes will take effect immediately.
Template Syntax
In the "Format Template" column of the settings table, you define the output string.
Rules:
{{FieldName}} is replaced by the content of that field. Field names are case-sensitive!
{{tags}} is a special placeholder replaced by a comma-separated list of the note's tags.
- Use
\n for new lines.
Example Template String:
Front: {{Front}}\nBack: {{Back}}\nTags: {{tags}}
Attribution and License
This add-on is a heavily modified version of the original Quick Clipboard Copy add-on by pfal.
The default copy shortcut is Ctrl+Alt+C because Anki already uses Ctrl+C for its built-in browser copy. The add-on also places an escaped HTML representation on the clipboard so literal tags such as <br> remain text when pasted into Word or Excel.
The new features were developed based on that foundation. This modified version is released under the MIT License.