Use case or problem
I’m frequently going into settings to toggle the visibility of properties in a note. On most days, I prefer to have them hidden in the note, but shown in a side pane. This keeps a cleaner writing experience. But when I’m organizing things, I prefer to have them visible.
There is no hotkey to toggle the visibility of properties in a note.
Proposed solution
Add a single new hotkey.
2 Likes
There is the “Toggle fold properties in current file” command you could use.
Also this related request:
Use case or problem
I have a lot of properties across notes. On mobile I have to scroll down a lot to see the actual note text
Proposed solution
Instead of the current hide “Properties” or make it “Visible” add a “Collapse” setting that, when selected, keeps the “Properties” collapsed across notes when they are opened. Still allows the user to expand and show the properties. Next note opened, they are collapsed.
Current workaround (optional)
None.
Related feature requests (optional)
Got tired…
Thank you. That is indeed a functional workaround.
That said, I’m still advocating for a hotkey to match the “Properties in document” setting.
2 Likes
Xufix
November 13, 2024, 10:33pm
6
It’s such an obvious thing. Is it really so difficult to implement
Xufix
November 13, 2024, 10:56pm
7
I found such a solution for myself. Create a css file with the following content:
.metadata-container,
.cm-line:has(.cm-hmd-frontmatter) {
display: none !important;
}
It completely disables the visibility of properties.
Name it and send it to the snippets folder. Next, install the plugin: GitHub - deathau/snippet-commands-obsidian: Registers custom css snippets as commands (which you can bind hotkeys to) . Add a keyboard shortcut to your css file and enjoy life. I apologize in advance for my English.
Xufix
November 13, 2024, 11:13pm
8
Do not forget to go to the obsidian settings, appearance, css fragments and activate the created css file.