reuseman / flashcards-obsidian

🎴 An Anki plugin for Obsidian.md
MIT License
870 stars 86 forks source link

Fix creating multipne cards-deck lines for regex can't match #178

Closed mayapony closed 10 months ago

mayapony commented 1 year ago

Since English is not my native language. I am sorry if there is an unclear expression.

I found the cardsDeckLine regex does not match my deck name, which causes new line to be added to frontmatter. As the following gif shows Peek-2023-02-07-16-36.gif

image

so i made a change to the regex

image

and it fixed this problem for me.

Peek 2023-02-07 16-38