obsidian-note-synchronizer
obsidian-note-synchronizer copied to clipboard
Set the Front/Text in the header list
I have used the plugin and apparently it uses the title of the note as the Front/Text of the card.
This is not ideal since you often use symbols in Front/Text in Anki but you cannot put symbols in a file name either in Obsidian or in the operating system.
E.g. You cannot place in title: What is the distance between the earth and the sun?.md
"?" It will not be accepted as part of the title, as well as any other symbol.
Solution: Embed the Front/Text header (which is usually the first header) so that you can set the Front of the card within the note and not via the title.
Yes, this is a limitation of the current implementation (as well as other symbols like :
, /
, etc.). However, this design did greatly simplify the workflow and make things a lot more intuitive in my use cases, so I would like to keep it as default when no configuration is provided.
The solution could be a per-template configuration to ignore the filename as the first field, such as including something like
---
ignore_filename: true
---
in the template front matter. This is already the default behavior for "Cloze" note types, so it isn't hard to generalize. I will try to do this when convenient. (If you are interested in contributing it's also very much appreciated!)