Feedback: Is there any way that let me to custom prefix for new content file name? #484

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

Now the default file name for new content is {{year}}-{{month}}-{{day}}-{{title}}.

2023-08-01-FrontMatter-Crash-Course.md

But I wanna custom prefix just like {{year}}{{month}}{{day}}-{{title}} when new content be created.

20230801-FrontMatter-Crash-Course.md

Is there any way let me to do that?

Now the default file name for new content is `{{year}}-{{month}}-{{day}}-{{title}}`. ``` 2023-08-01-FrontMatter-Crash-Course.md ``` But I wanna custom prefix just like `{{year}}{{month}}{{day}}-{{title}}` when new content be created. ``` 20230801-FrontMatter-Crash-Course.md ``` Is there any way let me to do that? <!-- github-sync-id:1833321684 -->
adam closed this issue 2026-10-05 02:49:37 +02:00
Author
Owner

You can change the prefix for the file creation on page folder or content-type level. You can find more about it here: https://frontmatter.codes/docs/content-creation/additional-config#file-prefixes

You can change the prefix for the file creation on page folder or content-type level. You can find more about it here: https://frontmatter.codes/docs/content-creation/additional-config#file-prefixes <!-- github-comment-id:1662975565 -->
Author
Owner

You can change the prefix for the file creation on page folder or content-type level. You can find more about it here: https://frontmatter.codes/docs/content-creation/additional-config#file-prefixes

Thanks for the help!

> You can change the prefix for the file creation on page folder or content-type level. You can find more about it here: https://frontmatter.codes/docs/content-creation/additional-config#file-prefixes Thanks for the help! <!-- github-comment-id:1663137113 -->
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#484