Closed e-zz closed 9 months ago
Thank you and sorry for late reply. I check it and found it is not working as expected.
When clicking sync button, note is not created from
{{cloze1 ok}}
as it does not get picked up by getNotesFromLogseqBlocks.
Hi,
Thanks for the test.
I have patched the PR and now getNotesFromLogseqBlocks
works well with {{clozeID }}
syntax.
Cheers!
Thanks.
LGTM!
This PR enables cloze syntax like
{{cloze1 xxx}}
, where the number after keywordcloze
specifies the display order of the cloze. It works the same as{{c1 xxx}}
.Motivation: In logseq, the keyword for cloze macro is
cloze
, instead ofc
in anki style. So maybe it's reasonable to support also parsingclozeID
syntax. For example, when one wants to force{{cloze a}}
to appear in the 2nd card, there would be a slight advantage in modifying it to{{cloze2 a}}
over{{c2 a}}
.