-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Correct image based on "data-mode" #815
Comments
As I understand this could be done like that, but this is not working for me |
Thanks a lot, for some reason I managed to miss this part of the tutorial about images, although I saw the part about shadow effect.. Anyway I'll try it as soon as I get home. |
Unfortunately, this solution does not work for some reason |
I get it, you need to update theme to 5.4.0 and then everything works! |
What command name to update theme? |
Please check https://chirpy.cotes.page/posts/getting-started/#upgrading |
thx, works fine now |
Checklist
master
branch.Description
I actually came across a similar question:
#481
However, my images are not exclusively diagrams, so I can't really use mermaid.
I wonder if there is a solution that would take "data-mode" into account and choose the correct image based on that.
If I insert something like "prefers-color-scheme" CSS media feature, but how would the markdown look?
Is it even feasible, so that I don't waste my time for no reason?
The text was updated successfully, but these errors were encountered: