UNPKG

handoff-app

Version:

Automated documentation toolchain for building client side documentation from figma

19 lines (18 loc) 638 B
/** * Trims HTML preview content by extracting body content * @param preview - The HTML preview string * @returns Trimmed HTML content */ export declare const trimPreview: (preview: string) => string; /** * Formats HTML content using Prettier * @param html - The HTML content to format * @returns Formatted HTML string */ export declare const formatHtml: (html: string) => Promise<string>; /** * Formats HTML content with HTML wrapper using Prettier * @param html - The HTML content to format * @returns Formatted HTML string with HTML wrapper */ export declare const formatHtmlWithWrapper: (html: string) => Promise<string>;