Skip to main content

Variable: DEFAULT_ENVIRONMENT

const DEFAULT_ENVIRONMENT: Environment

Defined in: src/liquidscript.ts:55

The default Liquid environment including all standard tags and filters, and an empty MapLoader.

It's OK to update DEFAULT_ENVIRONMENT with a new template loader or different tags and filters, for example, so later calls to convenience functions parse and render use the desired configuration.