--- title: "The Capture Tag" slug: "capture-tags-in-liquid-markup" updated: 2026-04-16T19:37:54Z published: 2026-04-16T19:37:54Z canonical: "knowledge.technolutions.net/capture-tags-in-liquid-markup" --- > ## Documentation Index > Fetch the complete documentation index at: https://knowledge.technolutions.net/llms.txt > Use this file to discover all available pages before exploring further. # The Capture Tag In [Liquid markup](/v1/docs/getting-started-with-liquid-markup), the `capture` tag saves content as a new variable that you can use. While superficially similar to the `assign` tag, `capture` allows you to, aptly, *capture* multi-line content, HTML and other liquid markup. Think of the `capture` tag as storing a detailed list that you can reference elsewhere. Here’s an explanation by way of a non-Slate example: Imagine that you have 12 Slate Sharks and you want to keep a detailed list of what you’re going to do with those Sharks: - Count the Sharks - Decide how many you might want to keep, or give away - Write a message like “I have 12 Slate Sharks, but I know I want to give some away, but I must keep 2 for myself.” You could *capture* all of these thoughts in one `capture` tag format them as an HTML list: ```xml {% capture slate-shark-information %}