# types/markup.types.ts

> 11 lines of code and 3 definitions.

Tree: Site tree
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/tree#file-types-markup-types-ts
Source text: https://banes-lab.com/assets/sources/source.2a415c24f4f367ae468c4a6f716f618d59bf7e79e116a0f3eb542b63f8f7cbf8.generated.txt

## Definitions

- `RunKind` (type_alias_declaration, line 1, exported)
- `TextPart` (interface_declaration, line 3, exported)
- `Run` (interface_declaration, line 8, exported)

## Source

```typescript
export type RunKind = "break" | "cite" | "code" | "emphasis" | "link" | "strong" | "text";

export interface TextPart {
    readonly element: boolean;
    readonly text: string;
}

export interface Run {
    readonly emphasis?: true;
    readonly href?: string;
    readonly kind: RunKind;
    readonly text: string;
}
```
