Replaces a built-in template

Updates the list of built-in templates, replacing 'single-page.typ' with 'modern.typ'.
This change reflects a shift in the default template options, offering users a more contemporary template choice.
This commit is contained in:
AlexKucera committed 2025-09-01 12:04:26 +02:00
1 parent 99f55b7ecb
commit 00292f8146
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ import * as path from 'path';
export class TemplateManager {
private app: App;
private pluginDir: string;
private builtInTemplateNames: string[] = ['default.typ', 'article.typ', 'report.typ', 'single-page.typ'];
private builtInTemplateNames: string[] = ['default.typ', 'article.typ', 'report.typ', 'modern.typ'];
private customTemplates: Map<string, Template> = new Map();
private customTemplateDirectory: string = 'Typst Templates';