-
Notifications
You must be signed in to change notification settings - Fork 211
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
Switch images based on theme #78
Conversation
...tried adding the (note: some files to remove from that branch, when it's done) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently we can't use <img>
tag for relative path. We might need to do:
<div class="block dark:hidden">
![alt](./light.png)
</div>
<div class="hidden dark:block">
![alt](./dark.png)
</div>
for now. I might add Markdown extension to add custom classes.
Can you also use lowercase extension .png
?
looks like it's ok, now :) |
Testing for #71 (
waiting for the rendered preview version to see if that works... it doesn't x) )