Making cloze cards #89
Replies: 9 comments 9 replies
-
A kind reminder: |
Beta Was this translation helpful? Give feedback.
-
Is there a way to use page tags inside of cloze and them still be searchable? |
Beta Was this translation helpful? Give feedback.
-
Is it possible to create two cloze cards with some different gaps and some gaps that both have in common? e.g. "The {{c1 earth}} is a {{c2 planet}}. Because {{c1&2 blabliblub}}." |
Beta Was this translation helpful? Give feedback.
-
Anki's Cloze Macro Syntax with this plugin doesn't seem to support Markdown. For example, say I want to place a word wrapped in Markdown inside of So, I guess I have three questions. Is it possible to use Markdown syntax within Anki's Cloze Macro Syntax and I just overlooked it in the Documentation? If not, is it possible to implement it? Or is it possible to hide the replaceCloze syntax within HTML comments or something so that Logseq doesn't parse it? |
Beta Was this translation helpful? Give feedback.
-
It would be nice to be pointed to some resources that explain the replacecloze syntax. Because afaik there is a multitude of regex flavours (see regex info). And the trial and error strategy I am currently employing is buggling me. Now I could ask such a question on here every time it arises, or teach myself how to figure it out / have a reference / know a program to to it for me instead. |
Beta Was this translation helpful? Give feedback.
-
Hello and thank you for your work! It helps me a lot. Is there a way to make cloze cards bidirectional? My use case is this: I read a book in English (which is not my native language), and there's a sentence with an unknown word, e.g. "The ship landed in a medley of noises.". I want to create a close like this: The ship landed in a {{c1 medley::попурри}} of noises. ...and make two cards out of it: 1. show the translation, hide the English word; 2. show English word to make me remember the translation. AFAIK there's a Reversed Cloze card type in Anki for this. Can I somehow specify the card type used for the block? |
Beta Was this translation helpful? Give feedback.
-
alternative solutions |
Beta Was this translation helpful? Give feedback.
-
Is the highlight function something you implemented or is it native from
Calibre?
Am Di., 8. Okt. 2024 um 20:35 Uhr schrieb Kirill Krasnoschekov <
***@***.***>:
… Actually, the most time consuming operation in my pipeline is fetching
(copy-pasting) excerpts from an epub book. (I read books in Calibre,
highlight new words and write translations in each highlight's comment.) I
lazily think about writing a script which would fetch those highlights from
Calibre highlights file (it's just an xml) and produce ready-to-paste
pieces for Logseq, which'll greatly reduce my need for manual cloze markup.
—
Reply to this email directly, view it on GitHub
<#89 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA4GOBHHBNP6J7TURHHDUQTZ2QQYHAVCNFSM55OCDNM2U5DIOJSWCZC7NNSXTOSENFZWG5LTONUW63SDN5WW2ZLOOQ5TCMBYHAZTSMZZ>
.
You are receiving this because you commented.Message ID:
<debanjandhar12/logseq-anki-sync/repo-discussions/89/comments/10883939@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
How do you write In Logseq it works fine, however anki finds the closest double closing brackets, breaking the formula. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Unlike multiline cards, there are multiple ways to create a cloze card.
Creating a cloze card using Anki's Cloze Macro Syntax
The simplest and recomended way to create a cloze card is to use the Anki Macro Syntax. It allows extensive control over the card creation.
For Example,
Here, the digit after
c
specify the card number where the cloze is (only 1-9 is supported). This will create a note with following cards in anki:Creating a cloze card using Logseq's Cloze Macro Syntax
Since the plugin is backward compatable with logseq, it is also possible to use Logseq's Cloze Macro Syntax.
For Example,
Notice how we cant cloze the word Nipon and Japan together as it is not possible to specify card number in this syntax.
This will create a note with following cards in anki:
Creating a cloze card using ORG CLOZE Block Syntax
In all of the above examples, we can only cloze words that are in single line. This syntax allows you to cloze multiple lines.
For Example,
This will create a note with following cards in anki:
Creating a cloze card using replaceCloze Syntax
In all of the above examples, we cannot cloze inside math or code. This syntax allows you to cloze inside math or code.
For Example,
The
replaceCloze
takes a string which contains a list of regex or strings that are to be clozed.This will create a note with following cards in anki:
Beta Was this translation helpful? Give feedback.
All reactions