Enhancement: Support for dynamic values in Front Matter › Git: Commit Message? #360

Closed
opened 2026-10-05 02:42:45 +02:00 by adam · 2 comments
Owner

Discussed in https://github.com/estruyf/vscode-front-matter/discussions/446

It would be great if the frontMatter.git.commitMessage setting supported the use of Dynamic text replacements, such as {{now}} or perhaps (datetime)

### Discussed in https://github.com/estruyf/vscode-front-matter/discussions/446 It would be great if the `frontMatter.git.commitMessage` setting supported the use of Dynamic text replacements, such as `{{now}}` or perhaps `(datetime)` <!-- github-sync-id:1425218367 -->
adam closed this issue 2026-10-05 02:42:45 +02:00
Author
Owner

Thanks @balaji-dutt for creating this issue!

Thanks @balaji-dutt for creating this issue! <!-- github-comment-id:1293167112 -->
Author
Owner

Example:

{
  "$schema": "https://beta.frontmatter.codes/frontmatter.schema.json",
  "frontMatter.git.enabled": true,
  "frontMatter.git.commitMessage": "Synced by Front Matter - {{now}}"
}

This will result in: Synced by Front Matter - 2022-11-04T09:27:02.554Z

Example: ```json { "$schema": "https://beta.frontmatter.codes/frontmatter.schema.json", "frontMatter.git.enabled": true, "frontMatter.git.commitMessage": "Synced by Front Matter - {{now}}" } ``` This will result in: `Synced by Front Matter - 2022-11-04T09:27:02.554Z` <!-- github-comment-id:1303170839 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/vscode-front-matter#360