JkNML
December 8, 2020, 5:49am
1
Steps to reproduce
Enable ‘Show frontmatter’ in the ‘Editor’ settings.
Use the default light theme and disable custom CSS.
Go to Preview mode with a note.
The front matter doesn’t show.
Expected result
I expect the front matter to show like it did with 0.9.20 and earlier.
Actual result
See above.
Example note
Create a note with:
---
title: "Where is the front matter?"
---
Hello there.
In Editor mode, this note shows as:
In preview mode, it shows as:
Environment
Operating system: Windows 7 64-bit.
Obsidian version: 0.9.21.
base
December 8, 2020, 8:32am
2
I think this is intended - there are some CSS-Themes which give you a button to reveal front matter (Minimal Theme by kepano does this I think)
1 Like
JkNML
December 8, 2020, 9:04am
3
This might be, but then the ‘Show frontmatter’ option is broken because with that setting enabled and Obsidian’s default theme, I don’t see the front matter.
base
December 8, 2020, 10:16am
4
Ah I see. Never mind then - I was not aware of this option!
Licat
December 8, 2020, 10:26am
5
Caused by the same issue as this one: Left margin (or padding) in preview mode changed/broken
Will be fixed as soon as we ship the next patch release.
1 Like