class Liquid::Include

@liquid_public_docs @liquid_type tag @liquid_category theme @liquid_name include @liquid_summary

Renders a [snippet](/themes/architecture/snippets).

@liquid_description

Inside the snippet, you can access and alter variables that are [created](/docs/api/liquid/tags/variable-tags) outside of the
snippet.

@liquid_syntax

{% include 'filename' %}

@liquid_syntax_keyword filename The name of the snippet to render, without the ‘.liquid` extension. @liquid_deprecated

Deprecated because the way that variables are handled reduces performance and makes code harder to both read and maintain.

The `include` tag has been replaced by [`render`](/docs/api/liquid/tags/render).