Skip to content

Annotations Material

FormSyntaxUsage
ParagraphText (1) then { .annotate }Inline marker.
List1. ContentBubble content.
Admonition!!! note annotate "Title (1)"Annotation inside a block.
Tabs=== "Tab" with (1)Annotation inside a tab.
Quote> Quote (1)Annotation in a blockquote.
Text with an annotation. (1)
{ .annotate }

1.  Annotation content.

Text with an annotation. 1Annotation content.

!!! note annotate "Annotated title (1)"
    The admonition body can also contain a marker. (2)

1.  Annotation placed in the title.
2.  Annotation placed in the body.
=== "JavaScript"

    ```js
    const mode = "documentation"; // (1)
    ```

    1.  This annotation belongs only to the JavaScript tab.

=== "YAML"

    ```yaml
    mode: documentation # (1)
    ```

    1.  This annotation belongs only to the YAML tab.
const mode = "documentation"; // 1This annotation belongs only to the JavaScript tab.
mode: documentation # 1This annotation belongs only to the YAML tab.
> A quote can receive an annotation to explain a source or a nuance. (1)
{ .annotate }

1.  This form reuses the idea of the MkDocs Material `annotate` container.

A quote can receive an annotation to explain a source or a nuance. 1This form reuses the idea of the MkDocs Material annotate container.