posthtml-typograf
Version:
PostHTML plugin for typograf
16 lines (12 loc) • 376 B
TypeScript
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 };