feat: highlight search results

This commit is contained in:
Fernando Porazzi
2023-08-30 12:44:42 +02:00
parent 3bbad28c32
commit c223c89045
6 changed files with 50 additions and 5 deletions

View File

@ -5,7 +5,7 @@ import { validateNostrLink } from "./nostr-link";
import { splitByUrl } from "./utils";
export interface ParsedFragment {
type: "text" | "link" | "mention" | "invoice" | "media" | "cashu" | "hashtag" | "custom_emoji";
type: "text" | "link" | "mention" | "invoice" | "media" | "cashu" | "hashtag" | "custom_emoji" | "highlighted_text";
content: string;
mimeType?: string;
}