From cab5daa22e986fdf0c71a370ebd459efa0a13a61 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 26 Sep 2020 13:45:48 -0400 Subject: Add clipboard-text Anki field (#863) * Add clipboard-text anki field * Add markers * Update clipboard injection --- ext/bg/data/default-anki-field-templates.handlebars | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext/bg/data/default-anki-field-templates.handlebars') diff --git a/ext/bg/data/default-anki-field-templates.handlebars b/ext/bg/data/default-anki-field-templates.handlebars index 98f6897b..2849ade9 100644 --- a/ext/bg/data/default-anki-field-templates.handlebars +++ b/ext/bg/data/default-anki-field-templates.handlebars @@ -282,4 +282,8 @@ {{~/if~}} {{/inline}} +{{#*inline "clipboard-text"}} + {{~#if definition.clipboardText~}}{{definition.clipboardText}}{{~/if~}} +{{/inline}} + {{~> (lookup . "marker") ~}} -- cgit v1.2.3