Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
estruyf opened this issue Jul 21, 2022 · 1 comment
Closed

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

estruyf opened this issue Jul 21, 2022 · 1 comment
Labels
enhancement New feature or request Project: v8.1.0

Comments

@estruyf
Copy link
Owner

estruyf commented Jul 21, 2022

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.

@estruyf estruyf added the enhancement New feature or request label Jul 21, 2022
@estruyf
Copy link
Owner Author

estruyf commented Jul 21, 2022

Xnapper-2022-07-21-12 42 31

@estruyf estruyf closed this as completed Sep 19, 2022
@estruyf estruyf mentioned this issue Sep 22, 2022
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Project: v8.1.0
Projects
None yet
Development

No branches or pull requests

1 participant