Option to change lastmod and date attribute names #13

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

My notes editor (GitJournal) uses modified and created instead of lastmod and date attributes respectively.

Would it be possible to set those attribute names in configuration?

My notes editor (GitJournal) uses `modified` and `created` instead of `lastmod` and `date` attributes respectively. Would it be possible to set those attribute names in configuration? <!-- github-sync-id:711023514 -->
adam closed this issue 2026-10-05 02:22:07 +02:00
Author
Owner

I'll add it as an enhancement to the extension. Thinking about two settings which you can define your own property names you want to use.

I'll add it as an enhancement to the extension. Thinking about two settings which you can define your own property names you want to use. <!-- github-comment-id:700722954 -->
Author
Owner

This functionality has now been added. You can change the field by setting the frontMatter.taxonomy.dateField and frontMatter.taxonomy.modifiedField config settings. Release 1.7.0 has been published.

This functionality has now been added. You can change the field by setting the `frontMatter.taxonomy.dateField` and `frontMatter.taxonomy.modifiedField` config settings. Release `1.7.0` has been published. <!-- github-comment-id:701228493 -->
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#13