# Variable: highlight

```ts
const highlight: object & Typed<{
  note?: string;
  prefix?: string;
  quote: string;
  suffix?: string;
}>;
```

Defined in: [packages/core/src/schemas/library/annotations.ts:90](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/library/annotations.ts#L90)

A passage marked in a longer text. `prefix` and `suffix` find it again when
the quote appears more than once (as W3C Web Annotation's text quote does).

## Type Declaration

### description

```ts
readonly description: "A passage marked in a text, with an optional note." = 'A passage marked in a text, with an optional note.';
```

### links

```ts
readonly links: object;
```

#### links.about

```ts
readonly about: LinkDeclaration;
```

### name

```ts
readonly name: "std.highlight" = 'std.highlight';
```

### schema

```ts
readonly schema: object;
```

#### schema.properties

```ts
readonly properties: object;
```

#### schema.properties.note

```ts
readonly note: object;
```

#### schema.properties.note.maxLength

```ts
maxLength: number = max;
```

#### schema.properties.note.minLength?

```ts
minLength?: number = min;
```

#### schema.properties.note.type

```ts
type: "string";
```

#### schema.properties.prefix

```ts
readonly prefix: object;
```

#### schema.properties.prefix.maxLength

```ts
maxLength: number = max;
```

#### schema.properties.prefix.minLength?

```ts
minLength?: number = min;
```

#### schema.properties.prefix.type

```ts
type: "string";
```

#### schema.properties.quote

```ts
readonly quote: object;
```

#### schema.properties.quote.maxLength

```ts
maxLength: number = max;
```

#### schema.properties.quote.minLength?

```ts
minLength?: number = min;
```

#### schema.properties.quote.type

```ts
type: "string";
```

#### schema.properties.suffix

```ts
readonly suffix: object;
```

#### schema.properties.suffix.maxLength

```ts
maxLength: number = max;
```

#### schema.properties.suffix.minLength?

```ts
minLength?: number = min;
```

#### schema.properties.suffix.type

```ts
type: "string";
```

#### schema.required

```ts
readonly required: readonly ["quote"];
```

#### schema.type

```ts
readonly type: "object" = 'object';
```

### title

```ts
readonly title: "Highlight" = 'Highlight';
```
