UNPKG

posthtml-typograf

Version:
16 lines (12 loc) 376 B
import parser from "posthtml-parser"; declare function getPosthtmlTypograf( disabledRules?: string[], options: typograf.Options, ): (tree: parser.Tree) => parser.Tree; declare function typografy( html: string, disabledRules?: string[], options: typograf.Options, ): string; export { getPosthtmlTypograf, typografy }; export default { getPosthtmlTypograf, typografy };