-
Notifications
You must be signed in to change notification settings - Fork 9
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
Code block on dark mode is weird (macOS and iOS) #14
Comments
Have the same issue. Problem seems to be that So for now I just added alpha to background color of # Anki2/addons21/1030875226/pygments/styles/<name of your style from addon config, I use Monokai>
class MonokaiStyle(Style):
"""
This style mimics the Monokai color scheme.
"""
background_color = "#ffffff00" # <-- Zeroes for alpha in background
highlight_color = "#49483e" Though other colors still look not so good in dark mode |
It took me a bit of digging to figure out how to implement @suvernev-d's suggestion. Here's how to implement his suggestion:
Restart Anki, and try using Markdown! |
@josh-works Thanks a lot! |
The text was updated successfully, but these errors were encountered: