arnau / obsidian-metatable

An Obsidian plugin to display the frontmatter section as a fully expanded table.
MIT License
150 stars 13 forks source link

[Feature Request] Add an option to not show the metadata #4

Closed Mara-Li closed 3 years ago

Mara-Li commented 3 years ago

Hello ! This plugin is great (Looks like a notion frontmatter 👀 ) but sometimes I use the YAML frontmatter to create my cover page (export with pandoc). So, I obviously don't want to show the metadata on the preview! It will be great to have an option to not show the metadata.

Some idea :

Thank you for your hard work!

arnau commented 3 years ago

Ah! interesting use case. I'll give it a go soon.

arnau commented 3 years ago

So I went for a special key in the frontmatter that will skip rendering the table when true. By default it is metatable but can be configured in the plugin settings.

I also added another setting to define a set of keys that you don't want to be shown.

Both changes can be found in the new 0.5.3 version.