snezhig / obsidian-front-matter-title

Plugin for Obsidian.md
GNU General Public License v3.0
245 stars 19 forks source link

[Feature Request] put zettelkasten prefix on the right side in file-explorer #174

Open vlaw opened 1 year ago

vlaw commented 1 year ago

First of all, thank you very much for developing such an awesome plugin. I’m using zettelkasten method too, the long long file name is really boring, this plugin works so much great for me. But, I'm wondering is there a way to keep the zettelkasten prefix in the File Explorer, as an hint or put it on the right.

image
snezhig commented 1 year ago

I spent some time thinking about this request and not sure that it's possible without breaking sidebar. But I will check it.

vlaw commented 11 months ago

I spent some time thinking about this request and not sure that it's possible without breaking sidebar. But I will check it.

In my scenario, the most simple solution is to add an additional configuration, such as a right indicator, or an extra Alias rule. (Of course, put it to the right side).

When this configuration is enabled, fill in an expression to attempt to extract and display from the metadata.

For example, the following front-matter configuration exists in the document.

id: 123455-908090

The extra Alias part configuration would be {{id}}.