As an example I use this YAML in in Obsidian v.1.4.5:
---
aliases:
- ABC
- DEF
tags:
- GHI
- JKL
KA05: ""
case2: "-"
none: No value
whatever: "xyz abc"
nothingatall:
---
How can I hide the last 5 fields in view mode, depending only on their values but independly of the fields?
This does not work:
.metadata-property[data-property-value=""],
.metadata-property[data-property-value="-"],
.metadata-property[data-property-value="No value"],
.metadata-property[data-property-value="xyz abc"],
.metadata-property[data-property-value=''] {
display: none;
}
'''