Templates and Jinja¶
This tool uses the python Jinja2 templating engine to generate html pages which make up questions. It uses Jinja macros as modular building blocks, and custom filters when more complex operations are required. For example, the root template master.xml will make use of the makeQuestion.xml macro which itself makes use of questionText.html. These template files are contained in the templates folder.
For more information on how to use Jinja, it's documentation is really good.