From f7093b4c1abf73363e65dba54a098b76d0f2ba50 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Tue, 8 Sep 2020 11:01:08 -0400 Subject: Anki note clipboard marker (#780) * Update fields reference * Add support for adding clipboard images to anki notes * Add handlebars templates * Add markers * Add markers to readme --- ext/bg/data/default-anki-field-templates.handlebars | 6 ++++++ 1 file changed, 6 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 b348042c..98f6897b 100644 --- a/ext/bg/data/default-anki-field-templates.handlebars +++ b/ext/bg/data/default-anki-field-templates.handlebars @@ -276,4 +276,10 @@ {{/inline}} {{! End Pitch Accents }} +{{#*inline "clipboard-image"}} + {{~#if definition.clipboardImageFileName~}} + + {{~/if~}} +{{/inline}} + {{~> (lookup . "marker") ~}} -- cgit v1.2.3