Created
June 3, 2023 20:19
-
-
Save CheeksTheGeek/10f687058b107f471cc97fb3cdc35c18 to your computer and use it in GitHub Desktop.
CSS snippet for obsidian to render alt text image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.image-embed[alt]:after { | |
content: attr(alt); | |
display: block; | |
margin: 0.2rem 1rem 1rem 1rem; | |
font-size: 90%; | |
line-height: 1.4; | |
color: var(--text-faint); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment