Skip to content

Frontmatter metadata obscures the preview #44

@musjj

Description

@musjj

You can reproduce it with a simple note like this:

---
title: "There is a problem with card display. · Issue #25 · jillro/obsidian-cards-view-plugin"
source: https://github.com/jillro/obsidian-cards-view-plugin/issues/25
author:
  - "[[GitHub]]"
created: 2025-01-10
---

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris tristique
tincidunt justo, ac facilisis sem volutpat in. Nunc leo est, scelerisque sed ex
at, porttitor ultricies tortor. Donec tempus nibh in aliquam elementum. Nam
feugiat at libero ut porttitor. Vestibulum at sagittis turpis, sed congue
tellus. Vivamus dolor erat, ornare ut nisl in, scelerisque volutpat lorem. Proin
viverra non purus sit amet fringilla. Praesent mollis velit eget interdum
faucibus. Vivamus a magna laoreet, cursus enim viverra, convallis metus.
Pellentesque vitae luctus nulla. Vestibulum pharetra, ligula eu tempor cursus,
nulla ligula tempus augue, quis maximus turpis nisi tincidunt justo.

The contents of the note will not be visible in the card:

image

But if we remove a line from the frontmatter:

   - "[[GitHub]]"
-created: 2025-01-10
 ---

We can now see a preview of the contents:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions