UNPKG

@stacksjs/stx

Version:

A performant UI Framework. Powered by Bun.

19 lines 574 B
/** * Format stx file content */ export declare function formatStxContent(content: string, options?: FormatterOptions): string; /** * Format markdown file content, processing stx code blocks */ export declare function formatMarkdownContent(content: string, options?: FormatterOptions): string; /** * stx file formatter for automatically formatting .stx files */ export declare interface FormatterOptions { indentSize?: number useTabs?: boolean maxLineLength?: number normalizeWhitespace?: boolean sortAttributes?: boolean trimTrailingWhitespace?: boolean }