Skip to content
L

Liquid

Liquid markup language

by ShopifyFree

#349in Utilities
0In stores

Description

Liquid is a template engine from Shopify, written for safe templates that users can edit. Its design has three requirements: markup that is…

Highlights

  • Safe, non-evaluating template language
  • Stateless parse and render steps
  • Environments for scoped tags and filters
  • Resource limits for rendering
  • Ruby gem with Template API
  • Designed for user-editable templates

Ratings & Reviews

No ratings yet

Be the first to rate Liquid.

People also visit

L

Liquidjs

A simple, expressive, safe and Shopify compatible template engine in pure…

Utilities
Launch
S

shopify-liquid

Liquid is an open-source templating language created by Shopify

AI Skills
Get
L

Liquiflow

A tool that converts Webflow designs into editable Shopify 2.0 themes

Utilities
Launch
S

shopify-expert

Builds and debugs Shopify themes

AI Skills
Get
L

Linqqe

Cheap, fast, and easier alternative to Shopify

Utilities
Launch
L

liquid-theme-standards

CSS, JavaScript, and HTML coding standards for Shopify Liquid themes

AI Skills
Get

Liquid FAQ

What is Liquid?

A template engine from Shopify, designed to be safe enough for users to edit their own templates.

Why is it safe?

The README says Liquid does not evaluate code, so templates cannot run code on your server.

How do I install it?

Add gem 'liquid' to your Gemfile. The README shows parsing a template and rendering it with a parameter hash.

What are environments?

Scoped sets of custom tags, filters and configuration, so different parts of an application do not conflict.

What happens on an error?

By default errors are collected. The render! method raises on the first exception instead.

Where is the documentation?

The README links the Shopify Liquid documentation, the GitHub wiki and the version history.

What are the best Liquid alternatives?

Popular alternatives to Liquid include Liquidjs, Liquiflow and Linqqe. See all Liquid alternatives

Developer Stuff

Badges