UNPKG

xhtml2pug

Version:
22 lines (20 loc) 696 B
interface PublicOptions { /** Don't wrap into html > body */ bodyLess: boolean; /** Commas in attributes */ attrComma: boolean; /** Encode html characters */ encode: boolean; /** Use double quotes for attributes */ doubleQuotes: boolean; /** Place all classes in class attribute */ inlineCSS: boolean; /** Symbol for indents, can be anything */ symbol: string; /** Html for any standard html, vue for any vue-like html */ parser: "html" | "vue"; /** Place all classes after attributes */ classesAtEnd: boolean; } export function convert(html: string, options?: Partial<PublicOptions>): string; //# sourceMappingURL=types.d.ts.map