defuddle
Version:
Extract article content and metadata from web pages.
8 lines (7 loc) • 313 B
TypeScript
import { MathData } from './math.base';
export declare const createCleanMathEl: (doc: Document, mathData: MathData | null, latex: string | null, isBlock: boolean) => Element;
export declare const mathRules: {
selector: string;
element: string;
transform: (el: Element, doc: Document) => Element;
}[];