Appearance
Function: InlineCitation()
ts
function InlineCitation(props: Readonly<{
sources: string[];
className?: string;
label?: string;
}> & RefAttributes<HTMLSpanElement>): Block;Defined in: src/renderer/blocks/index.ts:2254
Experimental
InlineCitation — small badge embedded inside text that opens a hover card carousel of source URLs.
Parameters
| Parameter | Type |
|---|---|
props | Readonly<{ sources: string[]; className?: string; label?: string; }> & RefAttributes<HTMLSpanElement> |
Returns
Example
ts
InlineCitation({sources: ['https://a.com', 'https://b.com']});