Skip to content

Commit

Permalink
Merge pull request #43 from c33s/add-help-text-for-dirname
Browse files Browse the repository at this point in the history
added help text for dirName
  • Loading branch information
reorx authored Feb 22, 2023
2 parents fca0b27 + b6ab64b commit c187bf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,7 @@ The pattern indicates how the new name should be generated.
Available variables:
- {{fileName}}: name of the active file, without ".md" extension.
- {{dirName}}: name of the directory which contains the document (the root directory of vault results in an empty variable).
- {{imageNameKey}}: this variable is read from the markdown file's frontmatter, from the same key "imageNameKey".
- {{DATE:$FORMAT}}: use "$FORMAT" to format the current date, "$FORMAT" must be a Moment.js format string, e.g. {{DATE:YYYY-MM-DD}}.
Expand Down

0 comments on commit c187bf6

Please sign in to comment.