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:
1 file changed
+1
-1
@@ -10,7 +10,7 @@ import * as path from 'path';
|
|||||||
export class TemplateManager {
|
export class TemplateManager {
|
||||||
private app: App;
|
private app: App;
|
||||||
private pluginDir: string;
|
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 customTemplates: Map<string, Template> = new Map();
|
||||||
private customTemplateDirectory: string = 'Typst Templates';
|
private customTemplateDirectory: string = 'Typst Templates';
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user