Obsidian_to_Anki icon indicating copy to clipboard operation
Obsidian_to_Anki copied to clipboard

Duplicated frontmatter data

Open digitall-it opened this issue 4 years ago • 1 comments

I format some of my cards with Dataview information in YAML format in the frontmatter, and I have to duplicate it to create an Anki card. Is this duplication avoidable?

Note name is Zolfo

---
tags: elementi
Numero: 16
Simbolo: S
Serie: Non metalli
Gruppo: 16
Periodo: 3
---

START
Elemento
Nome: Zolfo
Numero: 16
Simbolo: S
Serie: Non metalli
<!--ID: 1636046889866-->
END

digitall-it avatar Nov 04 '21 17:11 digitall-it

Proposal, add a anki-card-type (case insensitive) variable that activates parsing of the front matter, that upon sync changes from string to array and gets the ID

---
tags: elementi
Numero: 16
Simbolo: S
Serie: Non metalli
Gruppo: 16
Periodo: 3
Anki-Card-Type: Elemento, 1636046889866
---

digitall-it avatar Nov 04 '21 17:11 digitall-it