Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize/Change Cloze Trigger (==) #192

Open
bitSheriff opened this issue May 30, 2023 · 3 comments
Open

Customize/Change Cloze Trigger (==) #192

bitSheriff opened this issue May 30, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@bitSheriff
Copy link

Is your feature request related to a problem? Please describe.
The problem with the cloze trigger (==) ist that, it is used in standard markdown to highlight text.
So it is not possible to "highlight" text in a note which has a cards-deck set, because all these highlights get recognized as clozes.

Describe the solution you'd like
I would be great if the trigger symbols/string could be customized. I know this is probably not a small change to the codebase. An alternative would be to disable the == trigger (because there is the {} as a second one) or change it to maybe === (tree equal symbols).

Thank you very much, I love this plugin and my vault would not be as powerful without it.

PS.: for the people with the same problem as me:
as a workaround, I currently use the plugin Highligthr which formats the selected text to an HTML styled "highlight"

@bitSheriff bitSheriff added the enhancement New feature or request label May 30, 2023
@github-actions
Copy link

Thank you for taking the time to report the issue and help me to make the project better! 🙂

@nvlang
Copy link

nvlang commented Aug 17, 2023

+1. Furthermore, == also sometimes causes problems if it appears inside inline code blocks (which, since it is the equality comparison operator in many programming languages, is not uncommon in my experience).

(Currently, a workaround for this is to add a zero-width space character () between the two equality signs: =‎=.)

@ahaubold
Copy link

+1 also from my side. I've started to use the plugin a week ago and really like it.
Today I started to create Anki cards for a note with several highlighted sentences and after there were now clozed deletion cards in the Anki deck I was looking for an option to disable this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants