MCPcopy
hub / github.com/markdoc/markdoc / formatChildren

Function formatChildren

src/formatter.ts:29–33  ·  view source on GitHub ↗
(a: Node, options: Options)

Source from the content-addressed store, hash-verified

27});
28
29function* formatChildren(a: Node, options: Options) {
30 for (const child of a.children) {
31 yield* formatValue(child, options);
32 }
33}
34
35function* formatInline(g: Generator<string>) {
36 yield [...g].join('').trim();

Callers 1

formatNodeFunction · 0.85

Calls 1

formatValueFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…