Obsidian_to_Anki icon indicating copy to clipboard operation
Obsidian_to_Anki copied to clipboard

Regex Flashcard / Outline Issue 🐛

Open hayriokcu opened this issue 3 years ago • 3 comments

Reference: Neuracache flashcard style ^((?:[^\n][\n]?)+) #flashcard ?\n*((?:\n(?:^.{1,3}$|^.{4}(?<!<!--).*))+)

Problem: Whenever I create flashcard with outline method it doesn't follow outline. image image The first bullet in "back of the card" appears wrong they all need to be sorted same.

Question How can I correct this over Regex code? Thanks for your support in advance!

P.S: I use Outline plugin in Obsidian.

hayriokcu avatar Apr 21 '21 11:04 hayriokcu

+1

dummifiedme avatar Jul 07 '21 05:07 dummifiedme

I too want to know how to make flashcards work with outline. I use Logseq and the flashcard syntax is basically the same.

Pvazevedo avatar Sep 13 '21 13:09 Pvazevedo

I too want to know how to make flashcards work with outline. I use Logseq and the flashcard syntax is basically the same.

I use Logseq too and failed to make it work with Logseq... as Logseq uses outline format even for a blank line. So I cannot generate a space line to seperate different cards. Finnaly, I find another add-on to handle this. The con is the decleration is not that convinent. The pro is the format stays as it should be. Hope this helps. I do wish the Neuracache flashcard style work for Logseq in the future.

YuhomC avatar Nov 26 '21 07:11 YuhomC