---
title: Anchor
description: >-
  How a passage is found again: its quote, the text around it, and where it last
  was.
updated_at: '2026-11-12T10:45:23+01:00'
created_at: '2026-11-11T18:31:18+01:00'
symbol:
  kind: interface
  name: Anchor
  signatures:
    - interface Anchor
  members:
    - name: exact
      kind: property
      signature: 'readonly exact: string'
    - name: prefix
      kind: property
      signature: 'readonly prefix: string'
      description: Up to `CONTEXT_LENGTH` characters before the quote.
    - name: suffix
      kind: property
      signature: 'readonly suffix: string'
      description: Up to `CONTEXT_LENGTH` characters after the quote.
    - name: start
      kind: property
      signature: 'readonly start: number'
    - name: end
      kind: property
      signature: 'readonly end: number'
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugin-annotations/src/anchor.ts#L10
---

# Anchor
