@thi.ng/hiccup
Version:
HTML/SVG/XML serialization of nested data structures, iterables & closures
47 lines • 1.13 kB
TypeScript
/** @internal */
export declare const PROC_TAGS: {
[id: string]: string;
};
/** @internal */
export declare const RE_TAG: RegExp;
/** @internal */
export declare const COMMENT = "__COMMENT__";
/** @internal */
export declare const INLINE = "__INLINE__";
/** @internal */
export declare const CDATA = "!CDATA";
/** @internal */
export declare const DOCTYPE = "!DOCTYPE";
/**
* XML processing instruction in hiccup format.
*
* @remarks
* Translates to `<?xml version="1.0" encoding="UTF-8"?>`
*/
export declare const XML_PROC: (string | {
version: string;
encoding: string;
})[];
/**
* `<!DOCTYPE html>` in hiccup format
*/
export declare const DOCTYPE_HTML: string[];
/** @internal */
export declare const NO_SPANS: {
[id: string]: number;
};
/** @internal */
export declare const SVG_TAGS: {
[id: string]: boolean;
};
/** @internal */
export declare const VOID_TAGS: {
[id: string]: boolean;
};
/** @internal */
export declare const NO_CLOSE_EMPTY: {
[id: string]: boolean;
};
/** @internal */
export declare const ATTRIB_JOIN_DELIMS: Record<string, string>;
//# sourceMappingURL=api.d.ts.map