# Basics

Mechanic uses [**Liquid**](https://learn.mechanic.dev/platform/liquid), a template language created by Shopify. If you have worked with the code behind Shopify themes, you've worked with Liquid.

If you are new to Liquid or need a refresher, the next few sections will cover the basics of the language.

{% hint style="info" %}
Mechanic's use of Liquid comes with a few extra features. It has all the core features of Liquid itself, and adds a few that specifically facilitate Mechanic development.
{% endhint %}

## Shopify Liquid cheat sheet

Shopify offers an excellent [Liquid cheat sheet](https://www.shopify.com/partners/shopify-cheat-sheet), a quick reference for the fundamentals. Note, however, that Liquid objects documented here do not mirror the objects offered in Mechanic-flavored Liquid. When using this cheat sheet for Mechanic work, ignore the "Objects" section entirely. :)

Learn more about the difference between Shopify Theme Liquid objects and Mechanic objects here: [Mechanic objects](https://learn.mechanic.dev/platform/liquid/objects)

## Shopify's introduction to Liquid

{% embed url="<https://www.youtube.com/watch?v=tZLTExLukSg&feature=youtu.be>" %}

## Sources

Content in this section was compiled from the following Shopify resources:

* <https://shopify.github.io/liquid/>
* <https://shopify.dev/docs/themes/liquid/reference/basics>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.mechanic.dev/platform/liquid/basics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
