@urnlahzer’s question echoes his comment on Persistent folding: how to use space-style to hide a particular attribute? - #16 by urnlahzer.
He wants to hide the frontmatter without the attributes (on a page, a task or an item) being impacted. Indeed, these attributes all have an sb-frontmatter class like the frontmatter itself. So the hide-frontmatter-css class via the space-lua from @Inos Github hides the whole thing.
This do the job:
.sb-frontmatter.cm-line {
display: none;
}
@Mr.Red : is that what you are using?