diff --git a/src/samples/blank.ts b/src/samples/blank.ts new file mode 100644 index 0000000..fa5541d --- /dev/null +++ b/src/samples/blank.ts @@ -0,0 +1,21 @@ +const MODEL = `namespace hello@1.0.0 + +@template +concept NewTemplate { + o String exampleField +}`; + +const TEMPLATE = `> This is a blank template for users to create their own content. + +### Welcome to your new template {{exampleField}}! + +You can add your content here. +`; + +const DATA = { + "$class": "hello@1.0.0.NewTemplate", + "exampleField": "Your value here" +}; + +const NAME = 'New (Blank)'; +export { NAME, MODEL, DATA, TEMPLATE }; \ No newline at end of file diff --git a/src/samples/index.ts b/src/samples/index.ts index 6a6c7cb..09fe125 100644 --- a/src/samples/index.ts +++ b/src/samples/index.ts @@ -10,6 +10,7 @@ import * as formula from "./formula"; import * as clausecondition from "./clausecondition"; import * as invitation from "./invitation"; import * as announcement from "./announcement"; +import * as blank from "./blank"; export type Sample = { NAME: string; @@ -28,6 +29,7 @@ export const SAMPLES: Array = [ clausecondition, invitation, announcement, + blank, list, optional, markdown,