diff --git a/README.md b/README.md index 9eba659..54910eb 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,8 @@ test: - '2' ``` +3. install [obsidian-custom-save](https://github.com/HananoshikaYomaru/obsidian-custom-save) and add the `frontmatter-generator: run file` command to the custom save actions + - Basic Demo: - Tag properties demo: @@ -38,20 +40,20 @@ test: ```ts file.properties?.type === 'kanban' - ? { - folder: file.parent.path, - title: file.basename - } - : {} + ? { + folder: file.parent.path, + title: file.basename + } + : {} ``` ### function ```ts { - test: (() => { - return { test: 'test' } - })() + test: (() => { + return { test: 'test' } + })() } ``` @@ -59,7 +61,7 @@ file.properties?.type === 'kanban' ```ts { - numberOfPages: dv.pages('#ai').length + numberOfPages: dv.pages('#ai').length } ```