jplattel / obsidian-query-language

An Obsidian plugin allowing you to query your notes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

TenviLi opened this issue · comments

commented

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 😉😉😉