-
-
Notifications
You must be signed in to change notification settings - Fork 7
Filename Templates
Björn Platte edited this page Jan 16, 2026
·
1 revision
Filename templates define how issue and pull request notes are named in your vault.
| Type | Default Template | Example Result |
|---|---|---|
| Issue | Issue - {number} |
Issue - 123.md |
| Pull Request | PR - {number} |
PR - 456.md |
All variables from Template-Variables can be used, but these are most useful for filenames:
| Variable | Description | Example |
|---|---|---|
{number} |
Issue/PR number | 123 |
{title} |
Title | Fix login bug |
{status} |
Status | open |
{author} |
Author username | lonoxx |
{type} |
Type |
issue, pr
|
{labels_hash} |
Labels as hashtags | #bug #critical |
{owner} |
Repository owner | LonoxX |
{repoName} |
Repository name | my-repo |
{created} |
Creation date | 2026-01-15 |
{updated} |
Update date | 2026-01-20 |
Issue - {number} → Issue - 123.md
{number} - {title} → 123 - Fix login bug.md
{type} {number} → issue 123.md
{owner}/{repoName} - {number} → LonoxX/my-repo - 123.md
{repoName}-{number} {title} → my-repo-123 Fix login bug.md
[{status}] {title} ({number}) → [open] Fix login bug (123).md
{number} - {title} [{status}] → 123 - Fix login bug [open].md
{number} {title} {labels_hash} → 123 Fix login bug #bug #critical.md
{author} - {number} - {title} → lonoxx - 123 - Fix login bug.md
For GitHub Projects, folder templates support:
| Variable | Description | Example |
|---|---|---|
{project} |
Project title | My Project |
{owner} |
Project owner | LonoxX |
{project_number} |
Project number | 1 |
GitHub/{project} → GitHub/My Project/
{owner}/Projects/{project} → LonoxX/Projects/My Project/
Projects/{project_number} - {project} → Projects/1 - My Project/
- Keep it simple - Shorter filenames are easier to link
-
Use
{number}- Always include the number for unique identification -
Avoid special characters - Characters like
< > : " | ? * \ /are automatically replaced with- - Max length - Filenames are limited to 255 characters
The following characters are automatically replaced with -:
< > : " | ? * \ /- Newlines and tabs are replaced with spaces
- Leading/trailing dots are removed