obsidian-query-language icon indicating copy to clipboard operation
obsidian-query-language copied to clipboard

[Feature Request] Change the syntax of the `template:` keyword

Open TenviLi opened this issue 3 years ago β€’ 0 comments

In the future, there will be more and more special fields in various types of templates.

In order to prevent confusion when writing at the same level, it is recommended to indent and write the special fields under the template: keyword.

old syntax

template: 'table'
fields: ['index']

new syntax

template:
    type: 'table'
	fields: ['indexβ€˜]

Would it be more comfortable to write like this πŸ˜‰πŸ˜‰πŸ˜‰

TenviLi avatar Jul 28 '21 03:07 TenviLi