-
Checklist
How did you create the site?Generated from DescriptionI want to add hyperlinks to the images in a blockquote that are switched by the dark/light mode toggle. I am using the modified template, generated from Jekyll I have two cases: Case 1 (Markdown Syntax)In the Case 1 output: ✅ Hyperlink appears Case 2 (HTML Syntax)In the Case 2 output: ❌ Hyperlink does not appear Desired behavior:
Operations I already triedTo have both working hyperlink and CSS styling, I tried: Then, in .mode-dark .dark-mode-img {
content: url('/assets/images/header/image-dark.png');
}But I couldn't get my desired output. What can I do? As an example page The HTML conversion of the body content is like: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Ok, my issue is solved. I get my desired output if I simply use: ✅ Hyperlink appears |
Beta Was this translation helpful? Give feedback.
Ok, my issue is solved. I get my desired output if I simply use:
✅ Hyperlink appears
✅ CSS classes (
.dark .w-25) appear