not occurs if i give one line gap
but it makes the frontmatter take another line
This is an option in Markdown:
https://www.markdownguide.org/basic-syntax/#alternate-syntax
Alternatively, on the line below the text, add any number of
==
characters for heading level 1 or--
characters for heading level 2.
The front matter needs to start on line 1. Obsidian won’t recognize the properties shown in your example. When the properties are in the proper place, you can put text directly under it without it making a heading.
Use three asterisks ***
for section dividers instead of ---