title: Zettelmarkup: Transclusion
role: manual
tags: #manual #zettelmarkup #zettelstore
syntax: zmk
back: 00001006000000 00001007030000 00001007040324 00001007800000 00001012053800 00001017000000
backward: 00001006000000 00001007030000 00001007040324 00001007800000 00001012053800 00001017000000
box-number: 1
copyright: (c) 2020-present by Detlef Stern <ds@zettelstore.de>
created: 20220131151022
forward: 00001006050000 00001007031110 00001007031140 00001007050000 00001007700000
lang: en
license: EUPL-1.2-or-later
modified: 20220922155031
published: 20220922155031
visibility: public

A transclusion allows to include the content of other zettel into the current zettel.

The transclusion specification begins with three consecutive left curly bracket characters (&ldquo;`{`&rdquo;, U+007B) at the first position of a line and ends with three consecutive right curly bracket characters (&ldquo;`}`&rdquo;, U+007D).
The curly brackets delimit either a [zettel identifier](00001006050000) or a searched zettel list.
You can add some [attributes](00001007050000), although a transclusion does not support the default attribute.
Any other characters in this line will be ignored.

This leads to three variants of transclusions:

1. Transclusion of the content of another zettel into the current zettel.
   This is done if you specify a zettel identifier, and is called *zettel transclusion*.
1. Transclusion of the list of zettel references that satisfy a [query expression](00001007700000).
   This is called *query transclusion*.
1. Transclusion of the content of an image, referenced by a [hosted or based](00001007040310#link-specifications) link / URL.

The first two variants are described on separate zettel:

* [Zettel transclusion](00001007031110)
* [Query transclusion](00001007031140)