When embedding a file preceded by ! The file name is displayed above the content. Can you set it up so that the one behind the | entered text is displayed?
1 Like
The display text of embeds cannot be changed, unlike for links (a plugin might be able to do that). There are a few related topics which already exist. This one in particular mentions the same desire that you (and I) have.
You could fake it by removing the title and adding the alt / display text back in.
/* hide embed title */
.markdown-embed-title {
display: none;
}
/* use alt text as title */
.internal-embed::before {
content: attr(alt);
font-size: 0.9em;
font-weight: 300;
color: grey;
}
2 Likes
This works fine. Thank you very much.
Thank you. Ariehen’s tip helped.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.