---
title: annotations
description: >-
  The `annotations` plugin: its routes on the server, and in the browser a
  script that attaches to every note body a theme marks with `data-svartz-note`,
  as theme-minimal and every theme extending it do.
updated_at: '2026-11-19T08:13:33+01:00'
created_at: '2026-11-11T18:31:18+01:00'
symbol:
  kind: function
  name: annotations
  signatures:
    - >-
      annotations(options:
      [[reference/api/plugin-annotations/AnnotationsOptions|AnnotationsOptions]]):
      [[reference/api/core/NormalizedSvartzPlugin|NormalizedSvartzPlugin]]
  parameters:
    - name: options
      type: >-
        [[reference/api/plugin-annotations/AnnotationsOptions|AnnotationsOptions]]
  returns:
    type: '[[reference/api/core/NormalizedSvartzPlugin|NormalizedSvartzPlugin]]'
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugin-annotations/src/index.ts#L72
---

# annotations
