MCPcopy
hub / github.com/markmap/markmap / buildTree

Function buildTree

packages/markmap-html-parser/src/index.ts:277–280  ·  view source on GitHub ↗
(html: string, opts?: Partial<IHtmlParserOptions>)

Source from the content-addressed store, hash-verified

275}
276
277export function buildTree(html: string, opts?: Partial<IHtmlParserOptions>) {
278 const htmlRoot = parseHtml(html, opts);
279 return convertNode(htmlRoot);
280}

Callers 1

transformMethod · 0.90

Calls 2

parseHtmlFunction · 0.85
convertNodeFunction · 0.85

Tested by

no test coverage detected