Add constant rich text placeholders
CI / build-and-test (push) Canceled after 0s

This commit is contained in:
2026-08-30 23:23:48 +02:00
parent 28469bf547
commit 527c186090
15 changed files with 529 additions and 15 deletions
@@ -110,7 +110,8 @@ public sealed class StarterTemplateLibrary
LayoutFile = source.LayoutFile,
MetadataFile = source.MetadataFile,
Metadata = new(source.Metadata, StringComparer.OrdinalIgnoreCase),
Placeholders = source.Placeholders.Select(x => new PlaceholderDefinition(x.Name, x.Type, x.Required)).ToList(),
Placeholders = source.Placeholders.Select(x => new PlaceholderDefinition(x.Name, x.Type, x.Required,
x.IsConstant, x.ConstantValue, x.Bold, x.Italic, x.Underline)).ToList(),
};
private static StarterTemplateItem ToItem(TemplateManifest manifest, string path) =>