Open TenviLi opened 3 years ago
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.
template:
old syntax
template: 'table' fields: ['index']
new syntax
template: type: 'table' fields: ['indexβ]
Would it be more comfortable to write like this πππ
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
new syntax
Would it be more comfortable to write like this πππ