Interface HtmlRead

What readHtml answers.

interface HtmlRead {
    title: null | string;
    markdown: string;
    images: number;
    cut: boolean;
}

Properties

title: null | string

The text of <title>, else of the first h1, which is then not written in the body; else null.

markdown: string

The body as Markdown, its blocks apart by one empty line; '' for a page with no words.

images: number

The images left out of the body: the img elements outside the parts of the page that are not read, those in rows or text a bound left out among them.

cut: boolean

True when anything was left out to keep within the bounds: characters, or a table's rows or columns.