UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

27 lines (26 loc) 812 B
export interface DetailsOptions { readonly color?: string; readonly open?: boolean; readonly hideIfEmpty?: boolean; readonly prefixInit?: string; } /** * */ export declare function details(title: string, content: string, { color, open, hideIfEmpty, prefixInit }?: DetailsOptions): string; export interface BlockOptions { readonly type: 'NOTE' | 'WARNING' | 'TIP' | 'IMPORTANT'; readonly content: string; } /** * */ export declare function block({ type, content }: BlockOptions): string; /** * */ export declare function section(title: string, depth?: 1 | 2 | 3 | 4 | 5 | 6, anchor?: string): string; /** * Supported pattern: `Name@link` */ export declare function collapsibleToc(content: Record<string, Record<string, Record<string, undefined> | undefined> | undefined>): string;