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

Blinking occurs when the mouse cursor is placed over the code text #77

Closed
archervanderwaal opened this issue Mar 23, 2019 · 5 comments
Closed

Comments

@archervanderwaal
Copy link

When I use this theme and post, Blinking occurs when the mouse cursor is placed over the code text.

@kelyvin
Copy link
Owner

kelyvin commented Mar 25, 2019

When the mouse cursor is placed over code text, the theme darkens the code block so that it's easier to read.
However, if you're experiencing an issue than what I just described, can you provide further detail? What browser are you using? Is it repeatedly blinking? Can you provide a video/gif/screenshot of what's happening?

@archervanderwaal
Copy link
Author

https://resources.archervanderwaal.com/show-issue.mp4

If I want to ban this phenomenon, what should I do? In addition, I would like to ask if I can't make the syntax highlighting using prismjs. What should I do with the correct method?

@kelyvin
Copy link
Owner

kelyvin commented Mar 27, 2019

Oh wow can't believe I haven't noticed that before. Good catch. I will submit a patch fix tonight to resolve the issue.

For prismjs, I sent you a direct message, but here's a recap of how to enable it: All you need to do is write your code in a code block and then add the name of the language after your first set of backticks, like so: ```javascript

Screen Shot 2019-03-26 at 2 18 37 PM

@archervanderwaal
Copy link
Author

ok, thanks.

@kelyvin
Copy link
Owner

kelyvin commented Mar 27, 2019

@archervanderwaal This issue has now been fixed and I have updated the latest release (https://github.com/kelyvin/caffeine-theme/releases/tag/v4.1.0).

You should be good to go now. Thanks for reporting it!

@kelyvin kelyvin closed this as completed Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants