Skip to content

Commit cdbb965

Browse files
Update commands.md
1 parent 0c958e3 commit cdbb965

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

docs/user/features/commands.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ This command creates a note.
1010
Although it works fine on its own, it can be customized to achieve various use cases.
1111
Here are the settings available for the command:
1212

13-
- notePath: The path of the note to create. If relative it will be resolved against the workspace root.
14-
- templatePath: The path of the template to use. If relative it will be resolved against the workspace root.
15-
- title: The title of the note (that is, the `FOAM_TITLE` variable)
16-
- text: The text to use for the note. If also a template is provided, the template has precedence
17-
- variables: Variables to use in the text or template
18-
- date: The date used to resolve the FOAM*DATE*\* variables. in `YYYY-MM-DD` format
19-
- onFileExists?: 'overwrite' | 'open' | 'ask' | 'cancel': What to do in case the target file already exists
13+
- `notePath`: The path of the note to create. If relative it will be resolved against the workspace root.
14+
- `templatePath`: The path of the template to use. If relative it will be resolved against the workspace root.
15+
- `title`: The title of the note (that is, the `FOAM_TITLE` variable)
16+
- `text`: The text to use for the note. If also a template is provided, the template has precedence
17+
- `variables`: Variables to use in the text or template
18+
- `date`: The date used to resolve the FOAM*DATE*\* variables. in `YYYY-MM-DD` format
19+
- `onFileExists?: 'overwrite' | 'open' | 'ask' | 'cancel'`: What to do in case the target file already exists
2020

2121
To customize a command and associate a key binding to it, open the key binding settings and add the appropriate configuration, here are some examples:
2222

0 commit comments

Comments
 (0)