UNPKG

defuddle

Version:

Extract article content and metadata from web pages.

9 lines (8 loc) 372 B
import { MathData } from './math.base'; export declare const getLatexFromElement: (el: Element) => string | null; export declare const createCleanMathEl: (mathData: MathData | null, latex: string | null, isBlock: boolean, doc: Document) => Element; export declare const mathRules: { selector: string; element: string; transform: (el: Element) => Element; }[];