View as Markdown

API reference: @salmonui/rich-text

UrlUsetype

import type { UrlUse } from '@salmonui/rich-text';
type UrlUse = 'link' | 'image' | 'media' | 'embed';

Where a URL is used; each use has its own scheme allow-list.