# InlineMark (@salmonui/rich-text)

> The InlineMark type of @salmonui/rich-text: Inline formatting of text (shared with RichTextEditor marks).

Canonical: https://salmonui.dev/docs/reference/rich-text/InlineMark

```ts
import type { InlineMark } from '@salmonui/rich-text';
```

Entry index: https://salmonui.dev/docs/reference/rich-text (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/rich-text.md).

## Reference

Kind: type

```ts
type InlineMark = {
    type: 'bold' | 'italic' | 'underline' | 'strike' | 'subscript' | 'superscript' | 'code';
} | {
    type: 'color' | 'backgroundColor' | 'fontFamily' | 'fontSize';
    value: string;
};
```

Inline formatting of text (shared with RichTextEditor marks).
