Hello, Obsidian folks,
Does anyone know how to hide the “Metadata” box at the top of a note with YAML metadata when in Preview mode?
I saw a video that showed the YAML metadata only in Edit mode, and it was completely hidden in Preview mode, which is exactly what I want – but in my vault any note with YAML metadata causes a big “Metadata” box to be shown at the top of the note. I suspect the video I saw may be using an older version of Obsidian, as there seems to be no way to hide the “Metadata” box in Preview mode.
I would have thought that the “Show Frontmatter” option in Settings would let you turn this off, but no – with this option turned on, you see both the “metadata” box and the unformatted metadata as a code block, and with it turned off you still see the frontmatter displayed in the metadata box. So despite the name it unfortunately doesn’t seem to let you hide the frontmatter at all.
I’d like to use YAML metadata, but having it show up as a box at the top of every note just clutters the way notes are displayed – I find this so distracting that I’ll avoid using metadata entirely if I can’t somehow hide that box. Is there some way of turning off the “Metadata” box in Preview mode that I don’t know about?
Thanks!