Displaying embedded file-content

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;
}

CleanShot 2023-10-15 at 12.08.47

https://help.obsidian.md/Extending+Obsidian/CSS+snippets

2 Likes