-
Notifications
You must be signed in to change notification settings - Fork 13
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
Make the revealed text blue and change font weight to bold #7
Comments
Thanks for the tip regarding the Yes this is possible with a slight modification. I was actually recently working on improving that. I'll be merging it into master soon, but here's how you do it. Replace this part:
With this:
With this change, the text for the current cloze that is revealed on the back side will be colored the same way as the front side. You can also add a CSS rule to color the back side clozed text differently. For example, this would make it green on the back side:
|
Thank you! It seems like the |
Yea you need the replacement code I showed above. What the |
I've merged the code into the master branch and released an updated version of the shared deck. |
One simple change that can be done to replicate anki's built in clozes is to add
font-weight:bold;
to current cloze.Another problem is when the cloze is revealed, it isn't blue. I couldn't find how to change this.
For example,
in the
expContent.replace
function thinggy doesn't work, it makes every cloze blue. I assume this is because the sole purpose of that function is to strip the((c1::))
off the text.Is there a way to make the current cloze reveal blue?
The text was updated successfully, but these errors were encountered: