TemplateManifest

constructor(doctype: String? = null, content: String, additionalFiles: List<String> = emptyList(), enforceTheme: Boolean = false)

Parameters

doctype

document type of projects created from this template, as a Quarkdown document type name (plain, paged, slides, docs), or null to let the user choose

content

path, relative to the package root, of the Quarkdown file whose text becomes the initial content of the new project's main file

additionalFiles

paths, relative to the package root, of files copied as-is into the new project at the same relative path, declared as additional-files

enforceTheme

whether the template's own theme must be kept, declared as enforce-theme: when true, the project creator never emits a .theme call