UNPKG

myst-to-typst

Version:
10 lines 625 B
import type { GenericNode } from 'myst-common'; /** Removes nobreak and zero-width spaces */ export declare function cleanWhitespaceChars(text: string, nbsp?: string): string; export declare function nodeOnlyHasTextChildren(node?: GenericNode): boolean; export declare function hrefToLatexText(text: string): string; export declare function stringToTypstText(text: string): string; export declare function stringToTypstMath(text: string): string; export declare function getLatexImageWidth(width?: number | string): string; export declare function getClasses(className?: string): string[]; //# sourceMappingURL=utils.d.ts.map