Enhancement: Hide the front matter to use the panel instead #298

Closed
opened 2026-10-05 02:38:38 +02:00 by adam · 1 comment
Owner

The front matter is always shown in the file's content by default. To force editors to use the editor panel to make front-matter changes, it would be required to have a setting and functionality to support it.

Settings

  • frontMatter.content.hideFm: defines if you want to hide the front matter. The default is false.
  • frontMatter.content.hideFmMessage: defines the message to show to the user.

Known limitations

As we cannot remove lines from the file. The enhancement should automatically fold the front matter zone + hide the text via a text decoration.

The front matter is always shown in the file's content by default. To force editors to use the editor panel to make front-matter changes, it would be required to have a setting and functionality to support it. ## Settings - `frontMatter.content.hideFm`: defines if you want to hide the front matter. The default is `false`. - `frontMatter.content.hideFmMessage`: defines the message to show to the user. ## Known limitations As we cannot remove lines from the file. The enhancement should automatically fold the front matter zone + hide the text via a text decoration. <!-- github-sync-id:1312998095 -->
adam closed this issue 2026-10-05 02:38:38 +02:00
Author
Owner
Xnapper-2022-07-21-12 42 31
<img width="584" alt="Xnapper-2022-07-21-12 42 31" src="https://user-images.githubusercontent.com/2900833/180187346-361b6dd3-05a1-49f2-b546-5e5bcd49dcd2.png"> <!-- github-comment-id:1191291234 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/vscode-front-matter#298