Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 593 Bytes

File metadata and controls

10 lines (7 loc) · 593 Bytes

Examples

A few examples are provided in this folder. See the input and corresponding output folders.

Try them out by running ./scripts/run-example-<name>.sh from the parent folder.

  • basic - A basic example of using dgen with just a template files and the default data. It creates a TypeScript file.
  • data - An example of using dgen with a data file. It creates a TypeScript file and then executes it.
  • markdown - An example of using dgen with a data file and outputting Markdown.
  • processor - An example of using dgen with a processor file.