Templates
LearningBuilder supports many different templating scenarios. Use this page as an index.
Overview
LearningBuilder supports many different templating scenarios using multiple different templating engines.
This area of the docs contains the syntax documentation for the different templating engines. Feature-specific documentation can be found elsewhere in the Feature Index.
Different features support different template engines. See the feature-specific docs for details.
Template Language / Engine | Notes |
|---|---|
recommended Scriban is very similar to the template engine used by Shopify. It is the recommended option for all new templates and will, eventually, be the only option in LearningBuilder once the others are phased out. Scriban has numerous benefits over Razor:
| |
will eventually go away Razor is effectively a full programming language. That makes it very powerful and flexible, but at the cost of security considerations and complexity. We will eventually be removing Razor support from LearningBuilder, so we recommend starting to convert existing Razor templates to Scriban as you edit them. | |
Spark | deprecated - do not use Spark is a legacy template engine that is no longer under active development. Support for Spark templates will be removed in an upcoming release, and as of 13.3 Spark templates should be considered “do not use”. |