Ignore media file names in auto generated meta descriptions and social media preview texts

Use case or problem

If an image (or likely other media file type?) is the first content in a note, the auto generated meta description and social previews will start with the file name instead of the first text. This is ugly and undesirable.

Proposed solution

Ensure that auto-genrated meta descriptions and social preview text begin with the first text in a note and ignore other types of content.

Current workaround (optional)

You have to specify a custom description using a property.

Related feature requests (optional)

None.

Original post: Meta description and social media previews include image filenames instead of just text

You may want to mention in the request that this is for Obsidian Publish.