> For the complete documentation index, see [llms.txt](https://docs.ultramarinastudios.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ultramarinastudios.com/blocks/liquid.md).

# Liquid

Liquid is Shopify’s template language. The liquid block lets you add small Liquid snippets to display dynamic content or even just simple HTML.

For example, to create the screenshot below we replaced the heading block with a liquid block that has the following Liquid code:

```
<h2 class="h1">{{ shop.name }}</h1>
```

<figure><img src="https://3146423938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZQuVfmt0J7tzTvfBqG6C%2Fuploads%2F8oqWjBcFGURQ05HZqE2L%2FPrimavera%20Artistry%20%C2%B7%20Customize%20Primavera-1-0-0%20-%20Blocks%20everywhere%20%C2%B7%20Shopify%202025-04-01%20at%202.29.40%20pm.jpg?alt=media&amp;token=e4be1d34-bfde-4a52-ba77-1d9f40692d02" alt="Screenshot of Artistry section where the name of the shop is dynamically rendered as the section heading using a Liquid block."><figcaption><p>The name of the shop is dynamically injected as the section heading</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ultramarinastudios.com/blocks/liquid.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
