MCPcopy
hub / github.com/markmap/markmap / IHtmlNode

Interface IHtmlNode

packages/markmap-html-parser/src/index.ts:17–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17export interface IHtmlNode {
18 id: number;
19 tag: string;
20 html: string;
21 level: Levels;
22 parent: number;
23 childrenLevel: Levels;
24 children?: IHtmlNode[];
25 comments?: string[];
26 data?: Record<string, unknown>;
27}
28
29export interface IHtmlParserContext {
30 $node: Cheerio<any>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected