snezhig/obsidian-front-matter-title

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

Opened this issue · 2 comments

vlaw commented

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

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

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}}.